X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f0b2ed9bb6c1e153231b8088eabe6e3edcee9420..3a386f185c954d71a9b5d0747d017f99c8ccb6ff:/app/models/client_application.rb diff --git a/app/models/client_application.rb b/app/models/client_application.rb index 90523a265..67b86417a 100644 --- a/app/models/client_application.rb +++ b/app/models/client_application.rb @@ -75,7 +75,7 @@ class ClientApplication < ActiveRecord::Base @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