mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
commit
be4c60a760
3 changed files with 17 additions and 22 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