]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/edit.html.erb
Avoid mass assignment error in spam observer
[rails.git] / app / views / oauth_clients / edit.html.erb
index 085ddef4ec5dbf9d1c24c4a625624005ed971da8..b27f9b8fc01d9700476c36c0454f68b57a72ed09 100644 (file)
@@ -1,5 +1,5 @@
 <h1><%= t'oauth_clients.edit.title' %></h1>
-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
+<%= form_for @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
   <%= render :partial => "form", :locals => { :f => f } %>
   <br/>
   <%= submit_tag t'oauth_clients.edit.submit' %>