Permalink
Browse files

Add support for UnionStation filters.

  • Loading branch information...
1 parent c251c08 commit 1817f699b1f117aae92354761f64cdaba53505f2 @wfarr wfarr committed Mar 11, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/moonshine/manifest/rails/templates/passenger.vhost.erb
@@ -7,7 +7,10 @@
<% if configuration[:passenger].nil? || configuration[:passenger][:version].nil? || (configuration[:passenger][:version] == :latest || configuration[:passenger][:version] > '3.0.4') %>
<% if configuration[:union_station] && configuration[:union_station][:key] %>
PassengerAnalytics on
+ UnionStationSupport on
UnionStationKey <%= configuration[:union_station][:key] %>
+ <% (configuration[:union_station][:filters] || []).each do |us_filter| %>
+ UnionStationFilter "<%= us_filter %>"
<% end %>
<% end %>
@@ -196,7 +199,10 @@
<% if configuration[:passenger].nil? || configuration[:passenger][:version].nil? || (configuration[:passenger][:version] == :latest || configuration[:passenger][:version] > '3.0.4') %>
<% if configuration[:union_station] && configuration[:union_station][:key] %>
PassengerAnalytics on
+ UnionStationSupport on
UnionStationKey <%= configuration[:union_station][:key] %>
+ <% (configuration[:union_station][:filters] || []).each do |us_filter| %>
+ UnionStationFilter "<%= us_filter %>"
<% end %>
<% end %>

0 comments on commit 1817f69

Please sign in to comment.