Minor - Adding example routes.

skala
Julio Montoya 11 years ago
parent dcf873af32
commit 51f1fb6788
  1. 5
      config/routing.yml
  2. 4
      src/ChamiloLMS/Resources/config/route_example.yml

@ -1,5 +1,6 @@
admin_login_check: admin_login_check:
pattern: /admin/login_check pattern: /admin/login_check
admin_logout: admin_logout:
pattern: /admin/logout pattern: /admin/logout
@ -7,6 +8,10 @@ home:
path: /home path: /home
defaults: { _controller: index.controller:indexAction, culture: en } defaults: { _controller: index.controller:indexAction, culture: en }
homepage:
path: /homepage
defaults: { _controller: index.controller:indexAction, culture: en }
example: example:
resource: "src/ChamiloLMS/Resources/config/route_example.yml" resource: "src/ChamiloLMS/Resources/config/route_example.yml"
prefix: /example-route prefix: /example-route

@ -1,3 +1,3 @@
homepage: example:
path: /homepage path: /example
defaults: { _controller: index.controller:indexAction, culture: en } defaults: { _controller: index.controller:indexAction, culture: en }

Loading…
Cancel
Save