% content_for :head do %> <%= javascript_include_tag "graphing" %> <%= javascript_include_tag "tweets" %> <%= javascript_include_tag "//platform.twitter.com/widgets.js", charset: "utf-8", async: "async" %> <% end %> <% grouped_events = @agent.events.order("id desc").limit(2000).group_by {|e| e.payload[:filter] || e.payload[:match] }%> <% if grouped_events.length > 0 %> <% if @agent.options[:generate] == "events" %>
No recent tweets found.
<% end %>