./example/app.rb in sinatra-param-0.1.3 vs ./example/app.rb in sinatra-param-1.0.0
- old
+ new
@@ -1,10 +1,5 @@
-require 'sinatra/base'
-require 'json'
-
-require_relative '../lib/sinatra/param'
-
class App < Sinatra::Base
helpers Sinatra::Param
before do
content_type :json
@@ -53,6 +48,5 @@
{
message: 'OK'
}.to_json
end
end
-