Put semicolons where needed in view.erb

This commit is contained in:
Nate Riffe 2012-09-03 22:09:29 -05:00
parent 60c297394f
commit f23bf1e1b4

View File

@ -10,13 +10,13 @@ view "<%= name %>" {
<%- if not match_destinations.empty? -%> <%- if not match_destinations.empty? -%>
match-destinations { match-destinations {
<%- match_destinations.each do |match_destination| -%> <%- match_destinations.each do |match_destination| -%>
<%= match_destination %> <%= match_destination %>;
<%- end -%> <%- end -%>
}; };
<%- end -%> <%- end -%>
recursion <%= recursion ? 'yes' : 'no' %> recursion <%= recursion ? 'yes' : 'no' %>;
<%- zones.each do |zone| -%> <%- zones.each do |zone| -%>
include "<%= confdir %>/zones/${zone}.conf" include "<%= confdir %>/zones/${zone}.conf";
<%- end -%> <%- end -%>
} };