Fix redirects. Add link to new team and new group

This commit is contained in:
Dmitriy Zaporozhets 2013-01-25 16:18:37 +02:00
parent 6350b32a3d
commit 6743ecec59
3 changed files with 17 additions and 9 deletions

View file

@ -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