Skip to content

Commit

Permalink
remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
jubilee2 authored and pablobm committed Nov 15, 2022
1 parent 80cddde commit e0814ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/administrate/field/has_many.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def selected_options
def limit
options.fetch(:limit, DEFAULT_LIMIT)
end

def paginate?
limit.respond_to?(:zero?) ? limit.zero? : limit.present?
end
Expand Down

0 comments on commit e0814ef

Please sign in to comment.