mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Add client controller
This commit is contained in:
parent
eedbc211b5
commit
03b143eef2
7 changed files with 105 additions and 27 deletions
7
app/controllers/client/domains_controller.rb
Normal file
7
app/controllers/client/domains_controller.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class Client::DomainsController < ClientController
|
||||
def index
|
||||
@q = current_user.registrar.domains.search(params[:q])
|
||||
@domains = @q.result.page(params[:page])
|
||||
render 'admin/domains/index'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue