-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi ,
We have a requirement to add empty controller group resources under cgconf.d directory but from template ( templates/group.conf.erb ) could see no condition to achieve that .
So we modified the template to include if condition such that it will execute the each condition only when there is params variable available.
++++++++
<% if @params -%>
<% params.sort.each do |p,v| -%>
<%= p %> = <%= v %>;
<% end -%>
<% end -%>
}
<% end -%>
+++++++++
Can you please evaluate and add to the source code if you find our solutions works for you ?
Regards,
Nandha
Metadata
Metadata
Assignees
Labels
No labels