Sha256: b5c541dd4d21828bef2dc3f6106b3b6a935bd9dcf26cf1a1601bd4f9bab43041

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 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 => '<%= app_name %>', :action =>'index')
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thorero-gen-0.9.4 templates/application/merb_very_flat/application.rbt