noosfero | fix user role remove (!1682)
Álax Alves
gitlab at mg.gitlab.com
Wed Apr 24 10:06:57 BRT 2019
Merge request https://gitlab.com/noosfero/noosfero/merge_requests/1682 was reviewed by Álax Alves
--
Álax Alves started a new discussion on app/views/profile_roles/index.html.erb: https://gitlab.com/noosfero/noosfero/merge_requests/1682#note_163836948
> <%= button_without_text :edit, _('Edit'), :action => 'edit', :id => role %>
> - <%= button_without_text :trash, _('Delete'), :action => 'destroy', :id => role %>
> + <%= button_without_text(:trash, _('Delete'), {:action => 'remove', :id => role}, {:method => :post}) %>
You could change this to the newest rails 5 sintax. ;)
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1682
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20190424/a5ac7a08/attachment.html>
More information about the Noosfero-dev
mailing list