mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Fix UI
This commit is contained in:
parent
90f29f91ee
commit
f766fdc21b
1 changed files with 0 additions and 3 deletions
|
@ -32,9 +32,6 @@ class Admin::NameserversController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
# TODO: Refactor this
|
|
||||||
@nameserver = Nameserver.find(params[:id])
|
|
||||||
@domain = @nameserver.domains.first
|
|
||||||
@nameserver.destroy
|
@nameserver.destroy
|
||||||
redirect_to [:admin, @domain]
|
redirect_to [:admin, @domain]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue