template/lib/endpoints/base.rb in pliny-0.1.0 vs template/lib/endpoints/base.rb in pliny-0.2.0

- old
+ new

@@ -1,10 +1,15 @@ 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 + + set :dump_errors, false + set :raise_errors, true + set :show_exceptions, false configure :development do register Sinatra::Reloader end