Sha256: dbe5f4f56d8c6c7373eeb3299a70802cb0e963111ca927321ecfa90eae3456f7

Contents?: true

Size: 818 Bytes

Versions: 11

Compression:

Stored size: 818 Bytes

Contents

require 'landable'

Landable.configure do |config|
  config.api_namespace = '/api'
  config.cors.origins  = ['http://cors.test']

  Landable::Engine.routes.default_url_options = { host: 'test.landable.dev' }
  config.sitemap_exclude_categories = %w(Testing)
  config.sitemap_protocol = 'https'
  config.sitemap_additional_paths = %w(/terms.html)
  config.partials_to_templates = %w(partials/foobazz)

  config.reserved_paths = %w(/reserved_path_set_in_initializer /reject/.* /admin.*)

  config.database_schema_prefix = 'dummy'

  config.audit_flags = %w(loans apr)
end

# Configure asset uploads. Assets will be uploaded to public/uploads by default.
# More configuration options: https://github.com/carrierwaveuploader/carrierwave
CarrierWave.configure do |config|
  # config.asset_host = 'http://cdn.myapp.com'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
landable-1.12.3 spec/dummy/config/initializers/landable.rb
landable-1.12.2 spec/dummy/config/initializers/landable.rb
landable-1.12.1 spec/dummy/config/initializers/landable.rb
landable-1.11.1 spec/dummy/config/initializers/landable.rb
landable-1.11.0 spec/dummy/config/initializers/landable.rb
landable-1.10.0.rc2 spec/dummy/config/initializers/landable.rb
landable-1.10.0.rc1 spec/dummy/config/initializers/landable.rb
landable-1.9.2 spec/dummy/config/initializers/landable.rb
landable-1.9.1 spec/dummy/config/initializers/landable.rb
landable-1.9.0 spec/dummy/config/initializers/landable.rb
landable-1.9.0.rc2 spec/dummy/config/initializers/landable.rb