mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Remove redundant client tests ... fix session spec
This commit is contained in:
parent
0fe4841f50
commit
6eaa9215b1
6 changed files with 4 additions and 292 deletions
|
@ -2,7 +2,7 @@ class Admin::DomainsController < AdminController
|
|||
before_action :set_domain, only: [:show, :edit, :update]
|
||||
|
||||
def index
|
||||
@q = Domain.search(params[:q])
|
||||
@q = Domain.includes(:registrar, :owner_contact).search(params[:q])
|
||||
@domains = @q.result.page(params[:page])
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue