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