Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/config/routes.yaml

58 lines
1.4 KiB

logout:
path: /logout
authentication_token:
path: /api/authentication_token
methods: ['POST']
legacy_main:
path: /main/{name}
defaults: {_controller: 'Chamilo\CoreBundle\Controller\IndexController::classic'}
requirements:
name: .+
legacy_plugin:
path: /plugin/{name}
defaults: {_controller: 'ChamiloCoreBundle:Legacy:plugin'}
requirements:
name: .+
#courses_vue:
# path: /courses/{wildcard}
# controller: Chamilo\CoreBundle\Controller\IndexController::resources
# requirements:
# wildcard: .*
#sessions_vue:
# path: /sessions/{wildcard}
# controller: Chamilo\CoreBundle\Controller\IndexController::resources
# requirements:
# wildcard: .*
resources_vue:
path: /resources/{wildcard}
controller: Chamilo\CoreBundle\Controller\IndexController::index
requirements:
wildcard: .*
#liip_theme:
# resource: "@LiipThemeBundle/Resources/config/routing.xml"
# prefix: /theme
# Redirects /url/ to /url always located at the end
#remove_trailing_slash:
# path: /{url}
# defaults: {_controller: 'ChamiloCoreBundle:Redirecting:removeTrailingSlash'}
# requirements:
# url: .*/$
# _method: GET
# web url shortcuts for legacy templates
web_ajax:
path: main/inc/ajax/
web_main:
path: main/
gregwar_captcha_routing:
resource: "@GregwarCaptchaBundle/Resources/config/routing/routing.yml"