Sha256: 21c8cd4e8ed5d1679c6681229832052f177fb131d56e15d9b79a29710331578a

Contents?: true

Size: 358 Bytes

Versions: 10

Compression:

Stored size: 358 Bytes

Contents

# use PathPrefix Middleware if :path_prefix is set in Merb::Config
if prefix = ::Merb::Config[:path_prefix]
  use Merb::Rack::PathPrefix, prefix
end

# comment this out if you are running merb behind a load balancer
# that serves static files
use Merb::Rack::Static, Merb.dir_for(:public)

# this is our main merb application
run Merb::Rack::Application.new

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
merb-gen-0.9.10 lib/generators/templates/application/merb_core/config/rack.rb
merb-gen-0.9.10 lib/generators/templates/application/merb_stack/config/rack.rb
merb-gen-0.9.5 lib/generators/templates/application/merb/config/rack.rb
merb-gen-0.9.6 lib/generators/templates/application/merb/config/rack.rb
merb-gen-0.9.7 lib/generators/templates/application/merb/config/rack.rb
merb-gen-0.9.9 lib/generators/templates/application/merb_core/config/rack.rb
merb-gen-0.9.9 lib/generators/templates/application/merb_stack/config/rack.rb
merb-gen-0.9.8 lib/generators/templates/application/merb/config/rack.rb
merb-gen-0.9.4 lib/generators/templates/application/merb/config/rack.rb
thorero-gen-0.9.4 templates/application/merb/config/rack.rb