mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
New domain form
This commit is contained in:
parent
98cbae993d
commit
24e7beed5b
11 changed files with 66 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
class Admin::DomainsController < ApplicationController
|
||||
before_action :set_domain, only: [:show]
|
||||
|
||||
def new
|
||||
@domain = Domain.new
|
||||
end
|
||||
|
||||
def index
|
||||
@q = Domain.search(params[:q])
|
||||
@domains = @q.result.page(params[:page])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue