From 7cc3998c5ff7a13d41b116865d60ca9bf7630066 Mon Sep 17 00:00:00 2001 From: Eduardo Passos Date: Wed, 28 Jan 2015 17:22:06 +0000 Subject: [PATCH] Edit member roles send back to profile_members --- app/controllers/my_profile/profile_members_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/my_profile/profile_members_controller.rb b/app/controllers/my_profile/profile_members_controller.rb index c1f9558..fb8e262 100644 --- a/app/controllers/my_profile/profile_members_controller.rb +++ b/app/controllers/my_profile/profile_members_controller.rb @@ -20,7 +20,7 @@ class ProfileMembersController < MyProfileController redirect_to :action => :last_admin elsif @person.define_roles(@roles, profile) session[:notice] = _('Roles successfuly updated') - redirect_to :controller => 'profile_editor' + redirect_to :action => 'index' else session[:notice] = _('Couldn\'t change the roles') redirect_to :action => 'index' -- libgit2 0.21.2