examples/sinatra/config.ru in falcon-0.6.0 vs examples/sinatra/config.ru in falcon-0.7.0
- old
+ new
@@ -4,10 +4,10 @@
# Middleware that responds to incoming requests:
require 'sinatra/base'
class MyApp < Sinatra::Base
get "/" do
- "hello world"
+ response = Faraday.get 'http://sushi.com/nigiri/sake.json'
end
end
# Build the middleware stack:
use MyApp # Then, it will get to Sinatra.