Top Level Namespace
Defined Under Namespace
Modules: AmberRack Classes: AmberWebApp
Constant Summary collapse
- RACK_ROOT =
File.('..', File.dirname(__FILE__))
- AmberApp =
Rack::Builder.new do use Rack::ShowExceptions use Rack::CommonLogger map '/js' do run RackDAV::Handler.new(:root => File.('app/javascripts', RACK_ROOT)) end map '/st' do run RackDAV::Handler.new(:root => File.('app/smalltalk', RACK_ROOT)) end map '/' do run AmberWebApp end end