Skip to content

Commit

Permalink
More idiomatic.
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Mar 11, 2011
1 parent 9e86bb0 commit a0a66fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/moonshine/manifest/rails/templates/passenger.vhost.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
PassengerAnalytics on
UnionStationSupport on
UnionStationKey <%= configuration[:union_station][:key] %>
<% (configuration[:union_station][:filters] || []).each do |us_filter| %>
<% configuration[:union_station][:filters].to_a.each do |us_filter| %>
UnionStationFilter "<%= us_filter %>"
<% end %>
<% end %>
Expand Down Expand Up @@ -202,8 +202,9 @@
PassengerAnalytics on
UnionStationSupport on
UnionStationKey <%= configuration[:union_station][:key] %>
<% (configuration[:union_station][:filters] || []).each do |us_filter| %>
<% configuration[:union_station][:filters].to_a.each do |us_filter| %>
UnionStationFilter "<%= us_filter %>"
<% end %>
<% end %>
<% end %>

Expand Down

0 comments on commit a0a66fb

Please sign in to comment.