[openstreetmap-website] User page redesign a.k.a. activity stream (#54)

Tom Hughes notifications at github.com
Sun Aug 12 16:47:42 BST 2012


>      <% if ["active", "confirmed"].include? @this_user.status %>
> -      <%= link_to t('user.view.deactivate_user'), set_status_user_path(:status => 'pending', :display_name => @this_user.display_name), :data => { :confirm => t('user.view.confirm') } %> |
> +      <%= link_to t('user.view.deactivate_user'), {:controller => 'user', :action => 'set_status', :status => 'pending', :display_name => @this_user.display_name}, {:confirm => t('user.view.confirm')} %>

Why are you converting a perfectly good use of a named route back to the old format?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/54/files#r1358597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120812/d4410545/attachment.html>


More information about the rails-dev mailing list