mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Allow per page configuration domains #2122
This commit is contained in:
parent
4b9e082712
commit
b8710b2411
3 changed files with 8 additions and 1 deletions
|
@ -26,6 +26,8 @@ class Admin::DomainsController < AdminController
|
|||
params[:q][:name_matches] = n_cache # we don't want to show wildcards in search form
|
||||
end
|
||||
end
|
||||
|
||||
@domains = @domains.per(params[:results_per_page]) if params[:results_per_page].to_i > 0
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue