mirror of
https://github.com/internetee/registry.git
synced 2025-08-24 10:10:49 +02:00
changed from multiple to single feature in registrar field
This commit is contained in:
parent
13650ae37e
commit
83ae6e1584
4 changed files with 4 additions and 21 deletions
|
@ -1,6 +1,5 @@
|
|||
module Admin
|
||||
class DomainsController < BaseController
|
||||
include AdminDomains
|
||||
before_action :set_domain, only: %i[show edit update keep]
|
||||
authorize_resource
|
||||
|
||||
|
@ -14,9 +13,6 @@ module Admin
|
|||
domains = Domain.includes(:registrar, :registrant)
|
||||
end
|
||||
|
||||
domains = return_domains_which_related_to_registrars
|
||||
|
||||
|
||||
normalize_search_parameters do
|
||||
@q = domains.search(params[:q])
|
||||
@domains = @q.result.page(params[:page])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue