Sha256: 88bfba74f769b381555fe33ef392ee38e1f2243dfb575099696079aa5495da25
Contents?: true
Size: 930 Bytes
Versions: 3
Compression:
Stored size: 930 Bytes
Contents
require "rails/all" require "clearance" module Dummy APP_ROOT = File.expand_path("..", __FILE__).freeze class Application < Rails::Application config.action_controller.perform_caching = false config.action_mailer.default_url_options = { host: "dummy.example.com" } config.action_mailer.delivery_method = :test config.active_support.deprecation = :stderr config.eager_load = false config.paths["app/controllers"] << "#{APP_ROOT}/app/controllers" config.paths["app/models"] << "#{APP_ROOT}/app/models" config.paths["app/views"] << "#{APP_ROOT}/app/views" config.paths["config/database"] = "#{APP_ROOT}/config/database.yml" config.paths["log"] = "tmp/log/development.log" config.paths.add "config/routes.rb", with: "#{APP_ROOT}/config/routes.rb" def require_environment! initialize! end def initialize!(&block) super unless @initialized end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
clearance-2.7.2 | spec/dummy/application.rb |
clearance-2.7.0 | spec/dummy/application.rb |
clearance-2.6.2 | spec/dummy/application.rb |