mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Fix Rubocop issues after Ruby upgrade
This commit is contained in:
parent
3c1125879c
commit
15a651e51b
18 changed files with 25 additions and 26 deletions
|
@ -33,7 +33,7 @@ class Registrar
|
|||
@contacts = @q.result(distinct: :true).page(params[:page])
|
||||
end
|
||||
|
||||
@contacts = @contacts.per(params[:results_per_page]) if params[:results_per_page].to_i > 0
|
||||
@contacts = @contacts.per(params[:results_per_page]) if params[:results_per_page].to_i.positive?
|
||||
end
|
||||
|
||||
def download_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue