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.
103 lines
2.9 KiB
103 lines
2.9 KiB
logout:
|
|
path: /logout
|
|
|
|
_admin:
|
|
resource: routes/sonata_admin.yaml
|
|
prefix: /administration
|
|
|
|
sonata_admin_redirect:
|
|
path: /administration/dashboard
|
|
|
|
sonata_admin_my_dashboard:
|
|
path: /administration
|
|
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
|
|
defaults:
|
|
route: sonata_admin_dashboard
|
|
permanent: false
|
|
|
|
sonata_user_admin_security_logout:
|
|
path: /logout
|
|
|
|
app_document:
|
|
resource: |
|
|
alias: app.document
|
|
path: /resource/documents
|
|
form: Chamilo\CoreBundle\Form\Type\DocumentType
|
|
type: sylius.resource
|
|
|
|
app_document_index:
|
|
path: /courses/{course}/resource/documents/
|
|
methods: [GET, POST]
|
|
defaults:
|
|
_controller: app.controller.document:indexAction
|
|
_sylius:
|
|
template: ChamiloCoreBundle:Document:show.html.twig
|
|
|
|
app_document_create:
|
|
path: /courses/{course}/resource/documents/new
|
|
methods: [GET, POST]
|
|
defaults:
|
|
_controller: app.controller.document:createAction
|
|
_sylius:
|
|
template: ChamiloCoreBundle:Document:create.html.twig
|
|
form: Chamilo\CoreBundle\Form\Type\DocumentType
|
|
|
|
app_document_create_document:
|
|
path: /courses/{course}/resource/documents/new_document
|
|
methods: [GET, POST]
|
|
defaults:
|
|
_controller: app.controller.document:createDocumentAction
|
|
_sylius:
|
|
template: ChamiloCoreBundle:Document:create.html.twig
|
|
form: Chamilo\CoreBundle\Form\Type\DocumentType
|
|
|
|
app_document_show:
|
|
path: /courses/{course}/resource/documents/{id}
|
|
methods: [GET]
|
|
defaults:
|
|
_controller: app.controller.document:showAction
|
|
_sylius:
|
|
template: ChamiloCoreBundle:Document:show.html.twig
|
|
|
|
app_document_update:
|
|
path: /courses/{course}/resource/documents/{id}/edit
|
|
methods: [GET, PUT, PATCH]
|
|
defaults:
|
|
_controller: app.controller.document:updateAction
|
|
_sylius:
|
|
template: ChamiloCoreBundle:Document:update.html.twig
|
|
form: Chamilo\CoreBundle\Form\Type\DocumentType
|
|
|
|
app_document_delete:
|
|
path: /courses/{course}/resource/documents/{id}
|
|
methods: [DELETE]
|
|
defaults:
|
|
_controller: app.controller.document:deleteAction
|
|
|
|
#admin_dashboard:
|
|
# pattern: /administration/
|
|
# defaults:
|
|
# _controller: FrameworkBundle:Redirect:redirect
|
|
# route: sonata_admin_dashboard
|
|
# permanent: true # this for 301
|
|
|
|
#admin_without_locale:
|
|
# pattern: /administration
|
|
# defaults:
|
|
# _controller: FrameworkBundle:Redirect:redirect
|
|
# route: sonata_admin_dashboard
|
|
# permanent: true # this for 301
|
|
|
|
#admin_dashboard_without_locale:
|
|
# pattern: /administration/dashboard
|
|
# defaults:
|
|
# _controller: FrameworkBundle:Redirect:redirect
|
|
# route: sonata_admin_dashboard
|
|
# permanent: true
|
|
#_api:
|
|
# resource: routing_api.yml
|
|
# prefix: /api
|
|
|
|
liip_theme:
|
|
resource: "@LiipThemeBundle/Resources/config/routing.xml"
|
|
prefix: /theme
|
|
|