Commit 7cc3998c5ff7a13d41b116865d60ca9bf7630066
1 parent
4c229767
Exists in
master
and in
29 other branches
Edit member roles send back to profile_members
Bug fix from action item #3025
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' | ... | ... |