Sha256: dd91d6aaf624bc2ff1a182b37a6bb3b77c944abb714e265f47e11aa44cf6786a

Contents?: true

Size: 1.97 KB

Versions: 20

Compression:

Stored size: 1.97 KB

Contents

require File.expand_path('../boot', __FILE__)

# Pick the frameworks you want:
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"

Bundler.require(*Rails.groups)

require 'locomotive/engine'

module Dummy
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Custom directories with classes and modules you want to be autoloadable.
    # config.autoload_paths += %W(#{config.root}/extras)

    # Only load the plugins named here, in the order given (default is alphabetical).
    # :all can be used as a placeholder for all plugins not explicitly named.
    # config.plugins = [ :exception_notification, :ssl_requirement, :all ]

    # Activate observers that should always be running.
    # config.active_record.observers = :cacher, :garbage_collector, :forum_observer

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run 'rake -D time' for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de

    # Configure the default encoding used in templates for Ruby 1.9.
    config.encoding = 'utf-8'

    # config.after_initialize do |c|
    #   c.middleware.delete(Sass::Plugin::Rack)
    # end

    # let Locomotive handle custom error page
    require 'locomotive/middlewares/custom_public_exceptions'
    config.exceptions_app = Locomotive::Middlewares::CustomPublicExceptions.new(Rails.public_path)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
locomotivecms-3.3.0 spec/dummy/config/application.rb
locomotivecms-3.3.0.rc3 spec/dummy/config/application.rb
locomotivecms-3.3.0.rc2 spec/dummy/config/application.rb
locomotivecms-3.1.2 spec/dummy/config/application.rb
locomotivecms-3.2.1 spec/dummy/config/application.rb
locomotivecms-3.3.0.rc1 spec/dummy/config/application.rb
locomotivecms-3.2.0 spec/dummy/config/application.rb
locomotivecms-3.2.0.rc2 spec/dummy/config/application.rb
locomotivecms-3.2.0.rc1 spec/dummy/config/application.rb
locomotivecms-3.1.1 spec/dummy/config/application.rb
locomotivecms-3.1.0 spec/dummy/config/application.rb
locomotivecms-3.1.0.rc3 spec/dummy/config/application.rb
locomotivecms-3.1.0.rc2 spec/dummy/config/application.rb
locomotivecms-3.1.0.rc1 spec/dummy/config/application.rb
locomotivecms-3.0.1 spec/dummy/config/application.rb
locomotivecms-3.0.0 spec/dummy/config/application.rb
locomotivecms-3.0.0.rc7 spec/dummy/config/application.rb
locomotivecms-3.0.0.rc6 spec/dummy/config/application.rb
locomotivecms-3.0.0.rc5 spec/dummy/config/application.rb
locomotivecms-3.0.0.rc4 spec/dummy/config/application.rb