projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename integration login test
[rails.git]
/
app
/
controllers
/
oauth2_authorizations_controller.rb
diff --git
a/app/controllers/oauth2_authorizations_controller.rb
b/app/controllers/oauth2_authorizations_controller.rb
index 415ab2775c12f248e90598bde7e2495078e126f9..9f86e8b184e711bce1e3429be2bd96a2d016c578 100644
(file)
--- a/
app/controllers/oauth2_authorizations_controller.rb
+++ b/
app/controllers/oauth2_authorizations_controller.rb
@@
-7,4
+7,6
@@
class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
allow_all_form_action :only => :new
authorize_resource :class => false
+
+ before_action :check_database_writable
end