]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/oauth_clients_controller.rb
Rename trace_controller to traces_controller
[rails.git] / app / controllers / oauth_clients_controller.rb
index 76fdd642119f4adaa4763cb0c10fe91432435c1a..eb427e090848408f0a3d743de5f1c7698dc647fe 100644 (file)
@@ -40,7 +40,7 @@ class OauthClientsController < ApplicationController
 
   def update
     @client_application = current_user.client_applications.find(params[:id])
-    if @client_application.update_attributes(application_params)
+    if @client_application.update(application_params)
       flash[:notice] = t "oauth_clients.update.flash"
       redirect_to :action => "show", :id => @client_application.id
     else