From 5bcbcdfefb75861b3ab8f105d094dd100df7b5fe Mon Sep 17 00:00:00 2001 From: Jeroen Thora Date: Thu, 13 Dec 2018 13:53:39 +0100 Subject: [PATCH] [DashboardBundle] Set correct template path for widget action (#2195) --- src/Kunstmaan/AdminBundle/Controller/DefaultController.php | 2 +- src/Kunstmaan/AdminBundle/Controller/ModulesController.php | 2 +- src/Kunstmaan/AdminBundle/Controller/SettingsController.php | 2 +- .../DashboardBundle/Controller/GoogleAnalyticsController.php | 2 +- .../TaggingBundle/Controller/TagAdminListController.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Kunstmaan/AdminBundle/Controller/DefaultController.php b/src/Kunstmaan/AdminBundle/Controller/DefaultController.php index 7b0cfbde84..a383c3d4e1 100644 --- a/src/Kunstmaan/AdminBundle/Controller/DefaultController.php +++ b/src/Kunstmaan/AdminBundle/Controller/DefaultController.php @@ -21,7 +21,7 @@ class DefaultController extends Controller * The index action will render the main screen the users see when they log in in to the admin * * @Route("/", name="KunstmaanAdminBundle_homepage") - * @Template() + * @Template("@KunstmaanAdmin/Default/index.html.twig") * * @return array */ diff --git a/src/Kunstmaan/AdminBundle/Controller/ModulesController.php b/src/Kunstmaan/AdminBundle/Controller/ModulesController.php index 2a603a8a1e..16864770aa 100644 --- a/src/Kunstmaan/AdminBundle/Controller/ModulesController.php +++ b/src/Kunstmaan/AdminBundle/Controller/ModulesController.php @@ -13,7 +13,7 @@ class ModulesController extends Controller { /** * @Route("/", name="KunstmaanAdminBundle_modules") - * @Template() + * @Template("@KunstmaanAdmin/Modules/index.html.twig") * * @return array */ diff --git a/src/Kunstmaan/AdminBundle/Controller/SettingsController.php b/src/Kunstmaan/AdminBundle/Controller/SettingsController.php index cc8544436f..dff6e36f12 100644 --- a/src/Kunstmaan/AdminBundle/Controller/SettingsController.php +++ b/src/Kunstmaan/AdminBundle/Controller/SettingsController.php @@ -15,7 +15,7 @@ class SettingsController extends BaseSettingsController * Index page for the settings * * @Route("/", name="KunstmaanAdminBundle_settings") - * @Template() + * @Template("@KunstmaanAdmin/Settings/index.html.twig") * * @throws AccessDeniedException * diff --git a/src/Kunstmaan/DashboardBundle/Controller/GoogleAnalyticsController.php b/src/Kunstmaan/DashboardBundle/Controller/GoogleAnalyticsController.php index 4f4c050059..5a7dd9eb30 100644 --- a/src/Kunstmaan/DashboardBundle/Controller/GoogleAnalyticsController.php +++ b/src/Kunstmaan/DashboardBundle/Controller/GoogleAnalyticsController.php @@ -16,7 +16,7 @@ class GoogleAnalyticsController extends Controller * The index action will render the main screen the users see when they log in in to the admin * * @Route("/", name="KunstmaanDashboardBundle_widget_googleanalytics") - * @Template() + * @Template("@KunstmaanDashboard/GoogleAnalytics/widget.html.twig") * * @param \Symfony\Component\HttpFoundation\Request $request * diff --git a/src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php b/src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php index ec105bf630..f903a0cdfd 100644 --- a/src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php +++ b/src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php @@ -72,7 +72,7 @@ public function deleteAction(Request $request, $id) /** * @Route("/autocomplete.{_format}", name="kunstmaantaggingbundle_admin_tag_autocomplete", defaults={"_format" = "json"}) - * @Template() + * @Template("@KunstmaanTagging/Tags/autocomplete.json.twig") * * @param \Symfony\Component\HttpFoundation\Request $request *