]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_roles/grant.html.erb
Avoid mass assignment error in spam observer
[rails.git] / app / views / user_roles / grant.html.erb
index f88ec23847448a8e12fff7aff9c597ed4e99d36f..13f81184c5a8eb11d8d35280c5f1f33e41325bc1 100644 (file)
@@ -1,4 +1,4 @@
-<%= form_tag request.request_uri do %>
+<%= form_tag request.fullpath do %>
 <%= hidden_field_tag 'nonce', @nonce %>
 <% @title = t('user_role.grant.heading') %>
 <h1><%= t('user_role.grant.heading') %></h1>