ninefolio/config/routes.yaml
2024-11-03 14:47:30 +01:00

280 lines
9.1 KiB
YAML

#== Home ========================================================================================================
app_home:
path: /
defaults: { _controller: App\Controller\HomeController:home }
app_feedhome:
path: /feedhome/{nb}
defaults: { _controller: App\Controller\HomeController:feedhome, nb: 0 }
app_feeduser:
path: /feeduser/{userpseudo}/{nb}
defaults: { _controller: App\Controller\HomeController:feeduser, 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_admin_config:
path: /admin/config
defaults: { _controller: App\Controller\ConfigController:list }
app_admin_config_render:
path: /admin/config/render/{by}/{category}/{userid}
defaults: { _controller: App\Controller\ConfigController:listrender }
app_user_config_render:
path: /user/config/render/{by}/{category}
defaults: { _controller: App\Controller\ConfigController:listuserrender }
app_admin_config_update:
path: /admin/config/update/{by}/{id}/{userid}
defaults: { _controller: App\Controller\ConfigController:update }
app_user_config_update:
path: /user/config/update/{by}/{id}
defaults: { _controller: App\Controller\ConfigController:updateuser }
app_admin_config_delete:
path: /admin/config/delete/{by}/{id}/{userid}
defaults: { _controller: App\Controller\ConfigController:delete }
app_user_config_delete:
path: /user/config/delete/{by}/{id}
defaults: { _controller: App\Controller\ConfigController:deleteuser }
app_user_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 }
#== 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_admin_category:
path: /admin/category/{by}/{userid}
defaults: { _controller: App\Controller\CategoryController:list }
app_user_category:
path: /user/category
defaults: { _controller: App\Controller\CategoryController:listuser }
app_category_submit:
path: /user/category/submit/{by}/{userid}
defaults: { _controller: App\Controller\CategoryController:submit }
app_category_update:
path: /user/category/update/{id}/{by}
defaults: { _controller: App\Controller\CategoryController:update }
app_category_delete:
path: /user/category/delete/{id}/{by}
defaults: { _controller: App\Controller\CategoryController:delete }
#== Illustration ==================================================================================================
app_admin_illustration:
path: /admin/illustration/list/{by}/{userid}
defaults: { _controller: App\Controller\IllustrationController:list }
app_user_illustration:
path: /user/illustration/list
defaults: { _controller: App\Controller\IllustrationController:listuser }
app_illustration_submit:
path: /user/illustration/submit/{by}/{userid}
defaults: { _controller: App\Controller\IllustrationController:submit }
app_illustration_update:
path: /user/illustration/update/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:update }
app_illustration_delete:
path: /user/illustration/delete/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:delete }
app_illustration_crop:
path: /user/illustration/crop/{type}/{reportinput}
defaults: { _controller: App\Controller\CropController:crop02 }
app_illustration_upload:
path: /user/illustration/upload
defaults: { _controller: App\Controller\IllustrationController:upload }
app_illustration_view:
path: /illustration/view/{idcat}/{id}/{by}
defaults: { _controller: App\Controller\IllustrationController:view }
#== Webzine ==================================================================================================
app_admin_webzine:
path: /admin/webzine/list/{by}/{userid}
defaults: { _controller: App\Controller\WebzineController:list }
app_user_webzine:
path: /user/webzine/list
defaults: { _controller: App\Controller\WebzineController:listuser }
app_webzine_submit:
path: /user/webzine/submit/{by}/{userid}
defaults: { _controller: App\Controller\WebzineController:submit }
app_webzine_update:
path: /user/webzine/update/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:update }
app_webzine_delete:
path: /user/webzine/delete/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:delete }
app_webzine_crop:
path: /user/webzine/crop/{type}/{reportinput}
defaults: { _controller: App\Controller\CropController:crop02 }
app_webzine_upload:
path: /user/webzine/upload
defaults: { _controller: App\Controller\WebzineController:upload }
app_webzine_view:
path: /webzine/view/{idcat}/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:view }
#== 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 }
#== Slide =====================================================================================================
app_slide:
path: /slide
defaults: { _controller: App\Controller\SlideController:slide }
#== Home USer==================================================================================================
app_home_user:
path: /{userpseudo}
defaults: { _controller: App\Controller\HomeController:user }