Sha256: 41eb3888fe8810082f191a4871e96c43b23ff574bda45f51f96b4c566b579e32

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

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

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module BasicTodo
  class Application < Rails::Application
    config.encoding = "utf-8"

    config.exceptions_app = self.routes

    config.generators.assets = false
    config.generators.helper = false

    # Change this to expire all assets
    config.assets.version = '1.0'

    config.action_controller.include_all_helpers = false

    config.action_dispatch.default_headers['X-Frame-Options'] = 'SAMEORIGIN'

    config.autoload_paths += %W(
      #{config.root}/app/views
      #{config.root}/app/services
      #{config.root}/app/controller_services
      #{config.root}/app/controller_actions
      #{config.root}/lib
    )

    config.eager_load_paths += %W(
      #{config.root}/app/views
      #{config.root}/app/services
      #{config.root}/app/controller_services
      #{config.root}/app/controller_actions
      #{config.root}/lib
    )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/config/application.rb
aldous-1.1.2 examples/basic_todo/config/application.rb
aldous-1.0.1 examples/basic_todo/config/application.rb
aldous-1.0.0 examples/basic_todo/config/application.rb