Sha256: 16f1b241dde8729b2d8955e68d065e813432431a84415e027b7cd6fdc4d1e6be

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

# 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.4 lib/generators/templates/application/merb_very_flat/application.rbt
merb-gen-0.9.5 lib/generators/templates/application/merb_very_flat/application.rbt