diff --git a/app/config/routing.yml b/app/config/routing.yml index d4defca02..86c6602e6 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -33,7 +33,7 @@ rest : homepage: path: "/{page}" defaults: - _controller: WallabagCoreBundle:Entry:showUnread + _controller: 'Wallabag\CoreBundle\Controller\EntryController::showUnreadAction' page : 1 requirements: page: \d+ @@ -47,7 +47,7 @@ fos_oauth_server_token: craue_config_settings_modify: path: /settings defaults: - _controller: CraueConfigBundle:Settings:modify + _controller: 'Craue\ConfigBundle\Controller\SettingsController::modifyAction' fos_js_routing: resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" @@ -64,34 +64,34 @@ fos_js_routing: rss_to_atom_unread: path: /{username}/{token}/unread.xml defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction' route: unread_feed permanent: true rss_to_atom_archive: path: /{username}/{token}/archive.xml defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction' route: archive_feed permanent: true rss_to_atom_starred: path: /{username}/{token}/starred.xml defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction' route: starred_feed permanent: true rss_to_atom_all: path: /{username}/{token}/all.xml defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction' route: all_feed permanent: true rss_to_atom_tags: path: /{username}/{token}/tags/{slug}.xml defaults: - _controller: FrameworkBundle:Redirect:redirect + _controller: 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction' route: tag_feed permanent: true diff --git a/src/Wallabag/AnnotationBundle/Resources/config/routing_annotations.yml b/src/Wallabag/AnnotationBundle/Resources/config/routing_annotations.yml index 4f3a5c93b..ba076b9f4 100644 --- a/src/Wallabag/AnnotationBundle/Resources/config/routing_annotations.yml +++ b/src/Wallabag/AnnotationBundle/Resources/config/routing_annotations.yml @@ -1,4 +1,4 @@ annotations: type: rest - resource: "WallabagAnnotationBundle:WallabagAnnotation" - name_prefix: annotations_ + resource: 'Wallabag\AnnotationBundle\Controller\WallabagAnnotationController' + name_prefix: annotations_ diff --git a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php index e83e2eba8..58c942d40 100644 --- a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php +++ b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php @@ -26,7 +26,7 @@ class AnnotationRestController extends WallabagRestController { $this->validateAuthentication(); - return $this->forward('WallabagAnnotationBundle:WallabagAnnotation:getAnnotations', [ + return $this->forward('Wallabag\AnnotationBundle\Controller\WallabagAnnotationController::getAnnotationsAction', [ 'entry' => $entry, ]); } @@ -48,7 +48,7 @@ class AnnotationRestController extends WallabagRestController { $this->validateAuthentication(); - return $this->forward('WallabagAnnotationBundle:WallabagAnnotation:postAnnotation', [ + return $this->forward('Wallabag\AnnotationBundle\Controller\WallabagAnnotationController::postAnnotationAction', [ 'request' => $request, 'entry' => $entry, ]); @@ -71,7 +71,7 @@ class AnnotationRestController extends WallabagRestController { $this->validateAuthentication(); - return $this->forward('WallabagAnnotationBundle:WallabagAnnotation:putAnnotation', [ + return $this->forward('Wallabag\AnnotationBundle\Controller\WallabagAnnotationController::putAnnotationAction', [ 'annotation' => $annotation, 'request' => $request, ]); @@ -94,7 +94,7 @@ class AnnotationRestController extends WallabagRestController { $this->validateAuthentication(); - return $this->forward('WallabagAnnotationBundle:WallabagAnnotation:deleteAnnotation', [ + return $this->forward('Wallabag\AnnotationBundle\Controller\WallabagAnnotationController::deleteAnnotationAction', [ 'annotation' => $annotation, ]); } diff --git a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml index 7785d25f2..de592c217 100644 --- a/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml +++ b/src/Wallabag/ApiBundle/Resources/config/routing_rest.yml @@ -1,39 +1,39 @@ entry: type: rest - resource: "WallabagApiBundle:EntryRest" + resource: 'Wallabag\ApiBundle\Controller\EntryRestController' name_prefix: api_ search: type: rest - resource: "WallabagApiBundle:SearchRest" + resource: 'Wallabag\ApiBundle\Controller\SearchRestController' name_prefix: api_ tag: type: rest - resource: "WallabagApiBundle:TagRest" + resource: 'Wallabag\ApiBundle\Controller\TagRestController' name_prefix: api_ tagging_rule: type: rest - resource: "WallabagApiBundle:TaggingRuleRest" + resource: 'Wallabag\ApiBundle\Controller\TaggingRuleRestController' name_prefix: api_ annotation: type: rest - resource: "WallabagApiBundle:AnnotationRest" + resource: 'Wallabag\ApiBundle\Controller\AnnotationRestController' name_prefix: api_ misc: type: rest - resource: "WallabagApiBundle:WallabagRest" + resource: 'Wallabag\ApiBundle\Controller\WallabagRestController' name_prefix: api_ user: type: rest - resource: "WallabagApiBundle:UserRest" + resource: 'Wallabag\ApiBundle\Controller\UserRestController' name_prefix: api_ config: type: rest - resource: "WallabagApiBundle:ConfigRest" + resource: 'Wallabag\ApiBundle\Controller\ConfigRestController' name_prefix: api_ diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index bad89a0e5..0ec0dec14 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -92,7 +92,7 @@ {% endfor %}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig index 2664647e0..4e1942056 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig @@ -3,5 +3,5 @@ {% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %} {% block content %} - {{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }} + {{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::addEntryFormAction')) }} {% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig index 945b3fe09..77fab331e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig @@ -35,7 +35,7 @@