Commit c2fc623961a4394c8e4bed70e4bb236000303217
Exists in
master
and in
29 other branches
Merge branch 'profile-members' into 'master'
update_roles sends back to profile_members See merge request !440
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/my_profile/profile_members_controller.rb
... | ... | @@ -20,7 +20,7 @@ class ProfileMembersController < MyProfileController |
20 | 20 | redirect_to :action => :last_admin |
21 | 21 | elsif @person.define_roles(@roles, profile) |
22 | 22 | session[:notice] = _('Roles successfuly updated') |
23 | - redirect_to :controller => 'profile_editor' | |
23 | + redirect_to :action => 'index' | |
24 | 24 | else |
25 | 25 | session[:notice] = _('Couldn\'t change the roles') |
26 | 26 | redirect_to :action => 'index' | ... | ... |