]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Make rubocop happy
[rails.git] / app / controllers / application_controller.rb
index 2be8c16371546e9fe39e7491b8e11a66536e54a4..eed183893c725ae74cc3b345cbf3425d630606a0 100644 (file)
@@ -478,7 +478,7 @@ class ApplicationController < ActionController::Base
     Capability.new(current_user, current_token)
   end
 
     Capability.new(current_user, current_token)
   end
 
-  def deny_access(exception)
+  def deny_access(_exception)
     if current_user
       set_locale
       report_error t("oauth.permissions.missing"), :forbidden
     if current_user
       set_locale
       report_error t("oauth.permissions.missing"), :forbidden