]> git.openstreetmap.org Git - rails.git/blob - app/controllers/oauth2_authorizations_controller.rb
Remove name parameter from auth button helpers
[rails.git] / app / controllers / oauth2_authorizations_controller.rb
1 class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
2   layout "site"
3
4   prepend_before_action :authorize_web
5   before_action :set_locale
6
7   allow_all_form_action :only => :new
8
9   authorize_resource :class => false
10 end