Sha256: 3b78f3dfe09c9fb243ce4431f49537fe4df9c7c343c8d6d183b96411e7eff561
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require(*Rails.groups(assets: %w(development test))) require 'solidus/auth' module Dummy class Application < Rails::Application # Load application's model / class decorators initializer 'spree.decorators' do |app| config.to_prepare do Dir.glob(Rails.root.join('app/**/*_decorator*.rb')) do |path| require_dependency(path) end end end # Initialize configuration defaults for originally generated Rails version. config.load_defaults 6.1 # Configuration for the application, engines, and railties goes here. # # These settings can be overridden in specific environments using the files # in config/environments, which are processed later. # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") # Don't generate system test files. config.generators.system_tests = nil config.after_initialize do Spree::UsersController.protect_from_forgery with: :exception end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_auth_devise-2.5.4 | spec/dummy/config/application.rb |