logged prefix for routes

This commit is contained in:
Tykayn 2019-07-01 22:03:36 +02:00
parent b6324c9138
commit 295285bb3f
2 changed files with 34 additions and 34 deletions

View File

@ -45,17 +45,17 @@ app_sell_record:
get_my_products:
path: /get-my-products
path: /logged/get-my-products
defaults: { _controller: AppBundle:Default:getMyProducts }
get_my_expenses:
path: /get-my-expenses
path: /logged/get-my-expenses
defaults: { _controller: AppBundle:Default:getMyExpenses }
save_my_expenses:
path: /save-my-expenses
path: /logged/save-my-expenses
defaults: { _controller: AppBundle:Default:saveMyExpenses }
add_selling:
path: /add-selling
path: /logged/add-selling
defaults: { _controller: AppBundle:Default:addSelling }
fos_user:

View File

@ -36,6 +36,6 @@ security:
- { path: ^/dashboard$, role: IS_AUTHENTICATED_REMEMBERED }
- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/u, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/logged, role: IS_AUTHENTICATED_REMEMBERED }
- { path: ^/admin/, role: ROLE_ADMIN }