layout selected by controller name
This commit is contained in:
parent
078a8f0e66
commit
bdf317addc
7 changed files with 12 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue