ninefolio/config/routes.yaml

267 lines
8.7 KiB
YAML

#== 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_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_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 }
#== 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_webzine:
path: /admin/webzine/list/{by}
defaults: { _controller: App\Controller\WebzineController:list }
app_webzine_submit:
path: /admin/webzine/submit/{by}
defaults: { _controller: App\Controller\WebzineController:submit }
app_webzine_update:
path: /admin/webzine/update/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:update }
app_webzine_delete:
path: /admin/webzine/delete/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:delete }
app_webzine_view:
path: /webzine/view/{idcat}/{id}/{by}
defaults: { _controller: App\Controller\WebzineController:view }
app_webzine_crop:
path: /admin/webzine/crop/{type}/{reportinput}/{by}
defaults: { _controller: App\Controller\CropController:crop02 }
app_webzine_upload:
path: /admin/webzine/upload
defaults: { _controller: App\Controller\WebzineController:upload }
#== 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 }