template/lib/endpoints/base.rb in pliny-0.0.3 vs template/lib/endpoints/base.rb in pliny-0.0.4
- old
+ new
@@ -1,9 +1,10 @@
module Endpoints
# The base class for all Sinatra-based endpoints. Use sparingly.
class Base < Sinatra::Base
register Pliny::Extensions::Instruments
register Sinatra::Namespace
+ helpers Pliny::Helpers::Params
configure :development do
register Sinatra::Reloader
end