1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-30 08:20:46 +02:00

Flextype Box Plugin: Admin #125 #117

- web routes improvements and refactoring
This commit is contained in:
Awilum
2019-06-07 14:28:16 +03:00
parent 24ceecfed1
commit f2cc34e053

View File

@@ -20,8 +20,8 @@ $app->group($admin_route, function () use ($flextype, $app) {
$app->group($admin_route, function () use ($flextype, $app) {
// UsersController
$app->get('/admin/profile', 'UsersController:profile')->setName('admin.users.profile');
$app->post('/admin/logout', 'UsersController:logoutProcess')->setName('admin.users.logoutProcess');
$app->get('/profile', 'UsersController:profile')->setName('admin.users.profile');
$app->post('/logout', 'UsersController:logoutProcess')->setName('admin.users.logoutProcess');
// EntriesController
$app->get('/entries', 'EntriesController:index')->setName('admin.entries.index');