Fix redirects. Add link to new team and new group
This commit is contained in:
parent
6350b32a3d
commit
6743ecec59
3 changed files with 17 additions and 9 deletions
|
@ -47,7 +47,7 @@ class Admin::TeamsController < Admin::ApplicationController
|
|||
def destroy
|
||||
user_team.destroy
|
||||
|
||||
redirect_to admin_user_teams_path, notice: 'Team of users was successfully deleted.'
|
||||
redirect_to admin_teams_path, notice: 'Team of users was successfully deleted.'
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue