summaryrefslogtreecommitdiff
path: root/templates/default-record.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default-record.erb')
-rw-r--r--templates/default-record.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default-record.erb b/templates/default-record.erb
index 33d8f3d..348d07a 100644
--- a/templates/default-record.erb
+++ b/templates/default-record.erb
@@ -1,4 +1,4 @@
-<% if ttl -%>
+<% if @ttl -%>
<%=@_owner%> <%=@ttl%> <%=@record_class%> <%=@record_type%> <%=@host%>
<% else -%>
<%=@_owner%> <%=@record_class%> <%=@record_type%> <%=@host%>