fix: use existing route
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ class User implements UserInterface, TimestampableEntityInterface
|
|||||||
if ($this->hasRole('ROLE_ADMIN')) {
|
if ($this->hasRole('ROLE_ADMIN')) {
|
||||||
return 'app_admin_index';
|
return 'app_admin_index';
|
||||||
} elseif ($this->hasRole('ROLE_MANAGER')) {
|
} elseif ($this->hasRole('ROLE_MANAGER')) {
|
||||||
return 'app_manager_index';
|
return 'app_admin_index';
|
||||||
} elseif ($this->hasRole('ROLE_HOUSE_MANAGER')) {
|
} elseif ($this->hasRole('ROLE_HOUSE_MANAGER')) {
|
||||||
return 'app_house_manager_index';
|
return 'app_house_manager_index';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user