Sha256: ab1dd20dfbff689d330a68031dfd647f93754fc2566040c43b7d90e7725fca4a

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

# Move this to application.rb if you want it to be reloadable in dev mode.
Merb::Router.prepare do |r|
  r.match('/').to(:controller => 'foo', :action =>'index')
  r.default_routes
end

Merb::Config.use { |c|
  c[:environment]         = 'production',
  c[:framework]           = {},
  c[:log_level]           = 'debug',
  c[:use_mutex]           = false,
  c[:session_store]       = 'cookie',
  c[:session_id_key]      = '_session_id',
  c[:session_secret_key]  = '<%= SHA1.new(rand(100000000000).to_s).to_s %>',
  c[:exception_details]   = true,
  c[:reload_classes]      = true,
  c[:reload_time]         = 0.5
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
merb-gen-0.9.4 lib/generators/templates/application/merb_flat/config/init.rb
merb-gen-0.9.5 lib/generators/templates/application/merb_flat/config/init.rb
thorero-gen-0.9.4 templates/application/merb_flat/config/init.rb