about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-02 23:46:25 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-02 23:46:25 +0200
commitd74da1a89aef27ed78eb521a86b6412ef00acd0f (patch)
treee22c109e05709bb5c5497489f969b96be3118f24 /config
parentf06f295890bd8f29607599ad13b9a3f8d6e05381 (diff)
Small fixes
Diffstat (limited to 'config')
-rw-r--r--config/application.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index f6a5f6f9e..b1c9d9f6f 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -31,5 +31,9 @@ module Mastodon
     config.middleware.use Rack::Deflater
 
     config.browserify_rails.commandline_options = "--transform [ babelify --presets [ es2015 react ] ] --extension=\".jsx\""
+
+    config.to_prepare do
+      Doorkeeper::AuthorizationsController.layout 'auth'
+    end
   end
 end