]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Fix route for "go public" button on the account edit page
[rails.git] / app / views / accounts / edit.html.erb
index ba809d16ae6348050702a7d265526e3e283a19c6..0dcab17b0d3ba20ffaa9f3febdb21f6e4dd31e96 100644 (file)
@@ -61,5 +61,5 @@
 <a name="public"></a>
 <h2><%= t ".public editing note.heading" %></h2>
 <%= t ".public editing note.html" %>
-  <%= button_to t(".make edits public button"), :action => :go_public %>
+  <%= button_to t(".make edits public button"), user_go_public_path %>
 <% end %>