mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Pagination for domains
This commit is contained in:
parent
8531e50474
commit
11319b6f36
6 changed files with 29 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
class Admin::DomainsController < ApplicationController
|
||||
def index
|
||||
@domains = Domain.all
|
||||
@domains = Domain.order(:name).page(params[:page])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue