mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
parent
551d1799d1
commit
574113152a
2 changed files with 15 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Admin
|
|||
# TODO: Refactor this
|
||||
|
||||
def create
|
||||
if DNS::Zone.origins.include?(params[:origin])
|
||||
if ::DNS::Zone.origins.include?(params[:origin])
|
||||
|
||||
@zonefile = ActiveRecord::Base.connection.execute(
|
||||
"select generate_zonefile('#{params[:origin]}')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue