]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/profiles/edit.html.erb
Use before/after pagination on users page
[rails.git] / app / views / profiles / edit.html.erb
index b207e72e2e6f979df549e0987aa0b73957e63731..47282d5a22cbee0622336649fcdf9ef5a0c3567d 100644 (file)
@@ -60,5 +60,5 @@
   </fieldset>
 
   <%= f.primary t(".save") %>
-    <%= link_to t(".cancel"), user_path(current_user), :class => "btn btn-link" %>
+    <%= link_to t(".cancel"), current_user, :class => "btn btn-link" %>
 <% end %>