]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/client_application.rb
Make changeset#query preload users, tags and comments
[rails.git] / app / models / client_application.rb
index 90523a2655ebb60dc45d93e6cff85f330e93191d..67b86417a3a6a069a23d45e5e059c7b4aa415b87 100644 (file)
@@ -75,7 +75,7 @@ class ClientApplication < ActiveRecord::Base
     @oauth_client ||= OAuth::Consumer.new(key, secret)
   end
 
     @oauth_client ||= OAuth::Consumer.new(key, secret)
   end
 
-  def create_request_token(params = {})
+  def create_request_token(_params = {})
     params = { :client_application => self, :callback_url => token_callback_url }
     permissions.each do |p|
       params[p] = true
     params = { :client_application => self, :callback_url => token_callback_url }
     permissions.each do |p|
       params[p] = true