ninefolio/config/routes.yaml

253 lines
8.5 KiB
YAML
Raw Normal View History

2024-09-17 14:02:17 +02:00
#== Home ========================================================================================================
app_home:
path: /
defaults: { _controller: App\Controller\HomeController:home }
app_feed:
path: /feed/{nb}
defaults: { _controller: App\Controller\HomeController:feed, nb: 0 }
app_admin:
path: /admin/home
defaults: { _controller: App\Controller\HomeController:admin }
app_ckeditor_upload:
path: /user/activity/upload
defaults: { _controller: App\Controller\HomeController:upload }
#== Security ====================================================================================================
app_login:
path: /login
defaults: { _controller: App\Controller\SecurityController:login }
app_logout:
path: /logout
defaults: { _controller: App\Controller\SecurityController:logout }
app_logincas:
path: /logincas
defaults: { _controller: App\Controller\SecurityController:login }
app_logoutcas:
path: /logoutcas
defaults: { _controller: App\Controller\SecurityController:logout }
#== Crop =========================================================================================================
app_crop01:
path: /user/crop01/{type}/{reportinput}
defaults: { _controller: App\Controller\CropController:crop01 }
app_crop02:
path: /user/crop02/{type}/{reportinput}
defaults: { _controller: App\Controller\CropController:crop02 }
oneup_uploader:
resource: .
type: uploader
#== Cron ========================================================================================================
app_cron:
path: /admin/cron
defaults: { _controller: App\Controller\CronController:list }
app_cron_ajax_list:
path: /admin/cron/ajax/list
defaults: { _controller: App\Controller\CronController:ajaxlist }
app_cron_update:
path: /admin/cron/update/{id}
defaults: { _controller: App\Controller\CronController:update }
app_cron_exec:
path: /admin/cron/exec/{id}
defaults: { _controller: App\Controller\CronController:exec }
app_cron_log:
path: /admin/cron/log
defaults: { _controller: App\Controller\CronController:log }
app_cron_getlog:
path: /admin/cron/getlog/{id}
defaults: { _controller: App\Controller\CronController:getlog }
#== Config ========================================================================================================
app_config:
path: /admin/config
defaults: { _controller: App\Controller\ConfigController:list }
app_config_render:
path: /admin/config/render/{category}
defaults: { _controller: App\Controller\ConfigController:listrender }
app_config_submit:
path: /admin/config/submit
defaults: { _controller: App\Controller\ConfigController:submit }
app_config_update:
path: /admin/config/update/{id}
defaults: { _controller: App\Controller\ConfigController:update }
app_config_delete:
path: /admin/config/delete/{id}
defaults: { _controller: App\Controller\ConfigController:delete }
app_config_logo:
path: /admin/config/logo
defaults: { _controller: App\Controller\ConfigController:logo }
#== User ========================================================================================================
app_user:
path: /admin/user
defaults: { _controller: App\Controller\UserController:list }
app_user_submit:
path: /admin/user/submit
defaults: { _controller: App\Controller\UserController:submit }
app_user_update:
path: /admin/user/update/{id}
defaults: { _controller: App\Controller\UserController:update }
app_user_delete:
path: /admin/user/delete/{id}
defaults: { _controller: App\Controller\UserController:delete }
app_user_select:
path: /user/user/select
defaults: { _controller: App\Controller\UserController:select }
app_user_info:
path: /user/info
defaults: { _controller: App\Controller\UserController:info }
app_user_profil:
path: /user/profil
defaults: { _controller: App\Controller\UserController:profil }
app_user_survey:
path: /user/surveys
defaults: { _controller: App\Controller\UserController:survey }
#== Group ========================================================================================================
app_group:
path: /admin/group
defaults: { _controller: App\Controller\GroupController:list }
app_group_submit:
path: /admin/group/submit
defaults: { _controller: App\Controller\GroupController:submit }
app_group_update:
path: /admin/group/update/{id}
defaults: { _controller: App\Controller\GroupController:update }
app_group_delete:
path: /admin/group/delete/{id}
defaults: { _controller: App\Controller\GroupController:delete }
app_group_select:
path: /user/group/select
defaults: { _controller: App\Controller\GroupController:select }
app_group_info:
path: /user/group/info
defaults: { _controller: App\Controller\GroupController:info }
#== Category ======================================================================================================
app_category:
path: /admin/category
defaults: { _controller: App\Controller\CategoryController:list }
app_category_submit:
path: /admin/category/submit
defaults: { _controller: App\Controller\CategoryController:submit }
app_category_update:
path: /admin/category/update/{id}
defaults: { _controller: App\Controller\CategoryController:update }
app_category_delete:
path: /admin/category/delete/{id}
defaults: { _controller: App\Controller\CategoryController:delete }
#== Link ===========================================================================================================
app_link:
path: /admin/link
defaults: { _controller: App\Controller\LinkController:list }
app_link_submit:
path: /admin/link/submit
defaults: { _controller: App\Controller\LinkController:submit }
app_link_update:
path: /admin/link/update/{id}
defaults: { _controller: App\Controller\LinkController:update }
app_link_delete:
path: /admin/link/delete/{id}
defaults: { _controller: App\Controller\LinkController:delete }
#== Illustration ==================================================================================================
app_illustration:
path: /admin/illustration/list/{by}
defaults: { _controller: App\Controller\IllustrationController:list, by: 'home' }
app_illustration_submit:
path: /admin/illustration/submit/{by}
defaults: { _controller: App\Controller\IllustrationController:submit, by: 'home' }
app_illustration_update:
path: /admin/illustration/update/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:update, by: 'home' }
app_illustration_delete:
path: /admin/illustration/delete/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:delete, by: 'home' }
app_illustration_view:
path: /illustration/view/{idcat}/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:view, by: 'home' }
app_illustration_crop:
path: /admin/illustration/crop/{type}/{reportinput}/{by}
defaults: { _controller: App\Controller\CropController:crop02, by: 'home' }
app_illustration_upload:
path: /admin/illustration/upload
defaults: { _controller: App\Controller\IllustrationController:upload }
#== Webzine ==================================================================================================
app_webzine:
path: /admin/webzine/list/{by}
defaults: { _controller: App\Controller\WebzineController:list, by: 'home' }
app_webzine_submit:
path: /admin/webzine/submit/{by}
defaults: { _controller: App\Controller\WebzineController:submit, by: 'home' }
app_webzine_update:
path: /admin/webzine/update/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:update, by: 'home' }
app_webzine_delete:
path: /admin/webzine/delete/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:delete, by: 'home' }
app_webzine_view:
path: /webzine/view/{idcat}/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:view, by: 'home' }
app_webzine_crop:
path: /admin/webzine/crop/{type}/{reportinput}/{by}
defaults: { _controller: App\Controller\CropController:crop02, by: 'home' }
app_webzine_upload:
path: /admin/webzine/upload
defaults: { _controller: App\Controller\WebzineController:upload }
#== Slide =====================================================================================================
app_slide:
path: /slide
defaults: { _controller: App\Controller\SlideController:slide }