Sha256: 5e605a746dab31ba90f15cd670a0d87a01b194443cc92399f3e3cfa488e6cf4a

Contents?: true

Size: 607 Bytes

Versions: 7

Compression:

Stored size: 607 Bytes

Contents

#
# Sublease Configuration
#
Sublease.configure do |config|

  # The tenant model Sublease will search when switching by subdomain or domain.
  config.tenant_model = Tenant

  # Enable switching of tenant on domain.
  # config.switch_on_domain = true

  # Enable switching of tenant on subdomain.

  #config.switch_on_subdomain = true

  # Enable switching of tenant on combined subdmain and domain.
  config.switch_on_subdomain_and_domain = true

  # The default tenant subdomain
  #config.default_tenant_subdomain = 'www'

  # The default tenant domain
  #config.default_tenant_domain = 'example.com'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sublease-0.3.0 test/dummy/config/initializers/sublease.rb
sublease-0.2.3 test/dummy/config/initializers/sublease.rb
sublease-0.2.2 test/dummy/config/initializers/sublease.rb
sublease-0.2.1 test/dummy/config/initializers/sublease.rb
sublease-0.2.0 test/dummy/config/initializers/sublease.rb
sublease-0.1.1 test/dummy/config/initializers/sublease.rb
sublease-0.1.0 test/dummy/config/initializers/sublease.rb