Sha256: b533fe5bf05872977e30c46f0ee6ad7dacf544bd33a22ef77b43329f058448c6

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

Workarea.configure do |config|
  # Basic site info
  config.site_name = '<%= app_name.titleize %>'

  config.host = {
    'test' => 'www.example.com',
    'development' => 'localhost',
    'production' => 'www.<%= app_name.dasherize %>.com' # TODO
  }[Rails.env]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
workarea-core-3.5.27 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.26 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.25 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.23 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.22 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.21 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.20 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.19 lib/generators/workarea/install/templates/initializer.rb.erb
workarea-core-3.5.18 lib/generators/workarea/install/templates/initializer.rb.erb