examples/rconfig.ru in wbzyl-sinatra-static-assets-0.1.1 vs examples/rconfig.ru in wbzyl-sinatra-static-assets-0.1.2
- old
+ new
@@ -1,17 +1,10 @@
-require 'rsummer/mapp'
-require 'rwinter/mapp'
+require 'rsummer/summer'
+require 'rwinter/winter'
-Rapp = Rack::Builder.new do
- use Rack::ShowExceptions
- use Rack::Lint
+map '/summer' do
+ run Sinatra::Summer.new
+end
- map '/mapp1' do
- run Sinatra::Mapp1.new
- end
-
- map '/mapp2' do
- run Sinatra::Mapp2.new
- end
+map '/winter' do
+ run Sinatra::Winter.new
end
-
-run Rapp