summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-27 12:53:01 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-27 12:53:01 -0700
commit68f4b59738b43d9d6969528188ec74a87546a29f (patch)
tree65abe373fa1316a7e072b0fa997d519764def4d3 /config
parent3e9836ae1e21dfaf60a5059959c7bc38dc17decf (diff)
parentbe18397d82ca16fefed7287c8078a9b41bf37c95 (diff)
downloadgitlab-ce-68f4b59738b43d9d6969528188ec74a87546a29f.tar.gz
Merge pull request #1569 from jouve/simplify_controllers2
Simplify controllers and layout handling
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 27de3fa2436..fd0dd019ca1 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -53,5 +53,9 @@ module Gitlab
# Add fonts
config.assets.paths << "#{Rails.root}/app/assets/fonts"
+
+ config.to_prepare do
+ Devise::SessionsController.layout 'devise_layout'
+ end
end
end