examples/simple_api/app.rb in sinatra-documentation-0.0.1 vs examples/simple_api/app.rb in sinatra-documentation-0.0.2
- old
+ new
@@ -1,11 +1,10 @@
require 'sinatra'
require 'sinatra/documentation'
+get '/foo/bar' do
+ "Hello World"
+end
- get '/foo/bar' do
- "Hello World"
- end
-
- get '/' do
- 'some shit'
- end
+get '/' do
+ 'some shit'
+end