Commit 4a7f771
Toshiro Kida
Making DefaultController work with Symfony 2.3
Pre Symfony 2.6 (I think) `$this->redirectToRoute()` was satisfied by `$this->redirect($this->generateUrl())`. Making this edit to work with Symfony 2.3. It might be worthwhile to check version by looking at `Symfony\Component\HttpKernel\Kernel::VERSION`, as per http://stackoverflow.com/questions/16846189/how-to-know-which-version-of-symfony-i-have#168463251 parent 79b329c commit 4a7f771
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments