diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-05 16:26:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-10 12:11:26 +0200 |
commit | ac5842d970ba305681bb1c0826db769243101123 (patch) | |
tree | d64f6844ff42c56bdda372b8b7c31cb181ad8535 /config/application.rb | |
parent | 8a54fda45957b3755f7c06e5c9b955c794488ff1 (diff) | |
download | gitlab-ce-ac5842d970ba305681bb1c0826db769243101123.tar.gz |
Migrate application to rails 4 step 1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config/application.rb b/config/application.rb index ca80e9718ce..d888d04240b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,13 +1,9 @@ require File.expand_path('../boot', __FILE__) require 'rails/all' +require 'devise' -if defined?(Bundler) - # If you precompile assets before deploying to production, use this line - # Bundler.require(*Rails.groups(assets: %w(development test))) - # If you want your assets lazily compiled in production, use this line - Bundler.require(:default, :assets, Rails.env) -end +Bundler.require(:default, Rails.env) module Gitlab class Application < Rails::Application |