public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Search Repo:
ezmobius (author)
Tue May 13 18:19:14 -0700 2008
commit  0c825f720f8e153432aae88acc4205702effacfe
tree    0151892085a58bf18482962427c23c751d620805
parent  974e92e5bc5f0cbd6f9eca091ede16e7116f281c
100644 12 lines (9 sloc) 0.358 kb
1
2
3
4
5
6
7
8
9
10
11
12
# 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