Skip to content

Commit

Permalink
Improve routes
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Oct 31, 2024
1 parent ef393e0 commit 5bd832e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 19 deletions.
7 changes: 0 additions & 7 deletions config/routes/dev/web_profiler.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions config/routes/sylius_test_plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
when@test: &sylius_test_plugin_main_test
sylius_test_plugin_main:
path: /test/main
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction
defaults:
template: "@SyliusTestPlugin/main.html.twig"

when@test_cached: *sylius_test_plugin_main_test
5 changes: 0 additions & 5 deletions config/routes/test/sylius_test_plugin.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions config/routes/test_cached/sylius_test_plugin.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions config/routes/web_profiler.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
when@dev:
web_profiler_wdt:
_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt

web_profiler_profiler:
_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler

0 comments on commit 5bd832e

Please sign in to comment.