Skip to content

Commit

Permalink
Indentation fix
Browse files Browse the repository at this point in the history
Line up `add_header` with surrounding params
  • Loading branch information
Rubueno committed Oct 19, 2020
1 parent 57d93dd commit 79fd696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/server/locations/headers.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<%- if value -%>
<%- if value.is_a?(Hash) -%>
<%- value.each do |sk, sv| -%>
add_header "<%= header %>" <% if sk != '' %>"<%= sk %>"<% end %> <%= sv %>;
add_header "<%= header %>" <% if sk != '' %>"<%= sk %>"<% end %> <%= sv %>;
<%- end -%>
<%- else -%>
add_header "<%= header %>" "<%= value %>";
add_header "<%= header %>" "<%= value %>";
<%- end -%>
<%- end -%>
<%- end -%>

0 comments on commit 79fd696

Please sign in to comment.