From 236fd1e63bf0fbb4f7880ee3bc975ac89f4d3e99 Mon Sep 17 00:00:00 2001 From: Cyril Date: Sat, 29 Sep 2012 13:01:13 +0200 Subject: [PATCH] all devise controller use devise layout --- .../layouts/{devise_layout.html.haml => devise.html.haml} | 0 config/application.rb | 4 ---- 2 files changed, 4 deletions(-) rename app/views/layouts/{devise_layout.html.haml => devise.html.haml} (100%) diff --git a/app/views/layouts/devise_layout.html.haml b/app/views/layouts/devise.html.haml similarity index 100% rename from app/views/layouts/devise_layout.html.haml rename to app/views/layouts/devise.html.haml diff --git a/config/application.rb b/config/application.rb index fd0dd019..27de3fa2 100644 --- a/config/application.rb +++ b/config/application.rb @@ -53,9 +53,5 @@ module Gitlab # Add fonts config.assets.paths << "#{Rails.root}/app/assets/fonts" - - config.to_prepare do - Devise::SessionsController.layout 'devise_layout' - end end end