Sha256: e946673ed19b7d15bd2ccaae188931ffd16388b5fdfa578fba9245118efde204

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

$KCODE = 'UTF8'

# run very flat apps with merb -I <app file>.

Merb::Config.use { |c|
  c[:framework]           = { :public => [Merb.root / "public", nil] },
  c[:session_store]       = 'none',
  c[:exception_details]   = true
}

Merb::Router.prepare do |r|
  r.match('/').to(:controller => '<%= base_name %>', :action =>'index')
end

class <%= class_name %> < Merb::Controller
  def index
    "hi"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb-gen-0.9.6 lib/generators/templates/application/merb_very_flat/application.rbt
merb-gen-0.9.7 lib/generators/templates/application/merb_very_flat/application.rbt