From 4aebccde3fb95fae3777993fdd7cf377c91d5176 Mon Sep 17 00:00:00 2001 From: "Tobias L. Maier" Date: Mon, 1 Dec 2014 16:11:27 +0100 Subject: [PATCH] Add paginator to Endpoints::Base Original pull request: https://github.com/interagent/pliny-template/pull/120 --- lib/template/lib/endpoints/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/template/lib/endpoints/base.rb b/lib/template/lib/endpoints/base.rb index e745816c..80f76601 100644 --- a/lib/template/lib/endpoints/base.rb +++ b/lib/template/lib/endpoints/base.rb @@ -6,6 +6,7 @@ class Base < Sinatra::Base helpers Pliny::Helpers::Encode helpers Pliny::Helpers::Params + helpers Pliny::Helpers::Paginator set :dump_errors, false set :raise_errors, true