Skip to content

Commit 539dfd8

Browse files
committed
1 parent be48eb4 commit 539dfd8

File tree

10 files changed

+131
-176
lines changed

10 files changed

+131
-176
lines changed

app/AppKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public function registerBundles()
1919
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
2020
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
2121
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
22-
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
2322
new Dunglas\ActionBundle\DunglasActionBundle(),
23+
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
2424
new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(),
2525
new CodeExplorerBundle\CodeExplorerBundle(),
2626
new AppBundle\AppBundle(),

app/config/routing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# the routes in YAML, XML or PHP files.
66
# See http://symfony.com/doc/current/book/routing.html
77
app:
8-
resource: '@AppBundle/Action/'
9-
type: action-annotation
8+
resource: '@AppBundle/Controller/'
9+
type: annotation
1010
prefix: /{_locale}
1111
requirements:
1212
_locale: %app_locales%

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"symfony/swiftmailer-bundle" : "~2.3",
3434
"symfony/symfony" : "dev-action as 3.1.0",
3535
"twig/extensions" : "~1.2",
36-
"dunglas/action-bundle" : "dev-master"
36+
"dunglas/action-bundle" : "~1.0@dev"
3737
},
3838
"require-dev": {
3939
"sensio/generator-bundle": "~3.0"
@@ -57,7 +57,10 @@
5757
]
5858
},
5959
"config": {
60-
"bin-dir": "bin"
60+
"bin-dir": "bin",
61+
"platform": {
62+
"php": "5.5.9"
63+
}
6164
},
6265
"extra": {
6366
"symfony-app-dir": "app",

composer.lock

Lines changed: 17 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AppBundle/Console/AddUserCommand.php renamed to src/AppBundle/Command/AddUserCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace AppBundle\Console;
12+
namespace AppBundle\Command;
1313

1414
use Doctrine\Common\Persistence\ManagerRegistry;
1515
use Symfony\Component\Console\Command\Command;

src/AppBundle/Console/DeleteUserCommand.php renamed to src/AppBundle/Command/DeleteUserCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace AppBundle\Console;
12+
namespace AppBundle\Command;
1313

1414
use AppBundle\Entity\User;
1515
use Doctrine\Common\Persistence\ManagerRegistry;

src/AppBundle/Action/Admin/BlogController.php renamed to src/AppBundle/Controller/Admin/BlogController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace AppBundle\Action\Admin;
12+
namespace AppBundle\Controller\Admin;
1313

1414
use AppBundle\Utils\Slugger;
1515
use Symfony\Bundle\FrameworkBundle\Controller\ControllerTrait;

src/AppBundle/Action/BlogController.php renamed to src/AppBundle/Controller/BlogController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace AppBundle\Action;
12+
namespace AppBundle\Controller;
1313

1414
use AppBundle\Entity\Comment;
1515
use AppBundle\Entity\Post;

src/AppBundle/Action/SecurityController.php renamed to src/AppBundle/Controller/SecurityController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace AppBundle\Action;
12+
namespace AppBundle\Controller;
1313

1414
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
1515
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

0 commit comments

Comments
 (0)