test/dummy/config/application.rb in devise_security_extension-0.9.2 vs test/dummy/config/application.rb in devise_security_extension-0.10.0
- old
+ new
@@ -1,22 +1,24 @@
require File.expand_path('../boot', __FILE__)
require 'rails/all'
+require 'devise_security_extension'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
- Bundler.require(*Rails.groups(:assets => %w(development test)))
+ 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
module RailsApp
class Application < Rails::Application
- config.encoding = "utf-8"
+ config.encoding = 'utf-8'
config.filter_parameters += [:password]
config.assets.enabled = true
config.assets.version = '1.0'
+ config.secret_key_base = 'fuuuuuuuuuuu'
end
end