mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Contextual panels in domain show
This commit is contained in:
parent
7f26c8c769
commit
df5da8dc4b
4 changed files with 25 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
class Admin::NameserversController < ApplicationController
|
||||
def new
|
||||
@domain = Domain.find_by(params[:id])
|
||||
@domain = Domain.find(params[:domain_id])
|
||||
@nameserver = @domain.nameservers.build
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue