]> git.openstreetmap.org Git - rails.git/blob - app/controllers/oauth2_authorizations_controller.rb
Add frozen_string_literal comments to ruby files
[rails.git] / app / controllers / oauth2_authorizations_controller.rb
1 # frozen_string_literal: true
2
3 class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
4   layout :site_layout
5
6   prepend_before_action :authorize_web
7   before_action :set_locale
8
9   allow_all_form_action :only => :new
10
11   authorize_resource :class => false
12
13   before_action :check_database_writable
14 end