Sha256: 71d2ed9d96dd5283b0939964451b08a9e3da31548ef1a7098760e20ee114f358

Contents?: true

Size: 780 Bytes

Versions: 4

Compression:

Stored size: 780 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'
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

4 entries across 4 versions & 1 rubygems

Version Path
landable-1.9.0.rc1 spec/dummy/config/initializers/landable.rb
landable-1.8.0 spec/dummy/config/initializers/landable.rb
landable-1.7.1.rc1 spec/dummy/config/initializers/landable.rb
landable-1.7.0 spec/dummy/config/initializers/landable.rb