Skip to content
Snippets Groups Projects
Commit c8cbb902 authored by Giovanne Marcelo's avatar Giovanne Marcelo
Browse files

remove paginator concern

parent 0cd5d83c
No related branches found
No related tags found
No related merge requests found
module Paginator
extend ActiveSupport::Concern
def limit
return 50 if params[:limit].blank?
params[:limit].to_i
end
def offset
return 0 if params[:offset].blank?
params[:offset].to_i
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment