Sha256: d807ea7cf0204dda4de640f9fd0d2e72a4986c8fbfcbde77c6c7bbeb67d99633

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

require 'landable'

Landable.configure do |config|
  # Specify the hostname(s) of your Publicist instance
  config.cors.origins = %w(publicist.dev http://publicist.10.224.109.244.xip.io/)

  # Simple singleton user authenticator
  # config.authenticator = Landable::AuthenticationService::EchoAuthenticator.new('trogdor', 'trogdor')

  # Set up a custom database schema prefix (default: nil)
  # config.database_schema_prefix = Rails.application.class.parent_name.downcase

  # Add landable-ldap to your application's Gemfile to authenticate by LDAP:
  # config.authenticator = Landable::LDAP::Authenticator.new(
  #   host: 'ldap.acme.corp',
  #   port: 389,
  #   ssl: 'start_tls',
  #   base: 'ou=user,dc=acme,dc=corp',
  # )

  # Categories to create (can also be given as a hash to provide descriptions,
  # e.g. {'SEO' => 'Search engine optimization', 'PPC' => 'Pay-per-click'})
  config.categories = %w(Affiliates PPC SEO Social Email Traditional)

  # Uncomment to enable tracking of all requests.
  # Set to :html to track only HTML requests.
  # config.traffic_enabled = true

  # If you're using Landable with Publicist, add its url here. (required for screenshots)
  # config.publicist_url = 'http://publicist.dev/'

  # Where is your site deployed? (required for screenshots)
  # config.public_url = 'http://myapp.dev/'

  # If you want to save a different UserAgent if the request.user_agent is blank, set it here
  # config.blank_user_agent_string = 'blank'

  # Set up paths that are never tracked by Landable visit tracking
  # config.untracked_paths %w(/status)
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

1 entries across 1 versions & 1 rubygems

Version Path
landable-1.10.0.rc2 lib/generators/templates/landable.rb