From 68e49ebeaa17ead9c4b8b53d68fe2f4b8cba8f8a Mon Sep 17 00:00:00 2001 From: Daniil Kachur Date: Fri, 20 Oct 2023 02:22:59 +0400 Subject: [PATCH] Add necessary comma --- templates/api/include_helpers.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/api/include_helpers.erb b/templates/api/include_helpers.erb index 2497282..8c172f5 100644 --- a/templates/api/include_helpers.erb +++ b/templates/api/include_helpers.erb @@ -2,7 +2,7 @@ include ApiGenerator::Pagination::Dsl paginate :<%= action %>, with: :limit_offset, - on_request: proc { |req, limit: nil, offset: nil, sort: nil| } + on_request: proc { |req, limit: nil, offset: nil, sort: nil| }, data_key: :data_key, limit: :limit.to_proc, offset: :offset.to_proc,