noosfero | 2 new commits pushed to repository
Bráulio Bhavamitra
gitlab at gitlab.com
Wed Jan 28 19:09:49 BRST 2015
Bráulio Bhavamitra pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>
Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/7cc3998c5ff7a13d41b116865d60ca9bf7630066">7cc3998c</a> by Eduardo Passos
Edit member roles send back to profile_members
Bug fix from action item #3025
- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/c2fc623961a4394c8e4bed70e4bb236000303217">c2fc6239</a> by Bráulio Bhavamitra
Merge branch 'profile-members' into 'master'
update_roles sends back to profile_members
See merge request !440
- - - - -
Changes:
=====================================
app/controllers/my_profile/profile_members_controller.rb
=====================================
--- 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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150128/68ccb4f0/attachment.html>
More information about the Noosfero-dev
mailing list