Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed /visits urls.

  • Loading branch information...
commit e38b19adc05aac1b1bc40929e0e0c80eaf22719d 1 parent f7d029e
Simon Reed authored
View
2  lib/pathways/server.rb
@@ -77,7 +77,7 @@ def self.tabs
end
get '/pages' do
- @pages = Pathways::Session.popular_pages(:filter => "controller_action")
+ @pages = Pathways::Session.popular_pages
show :pages
end
View
2  lib/pathways/server/views/layout.erb
@@ -24,7 +24,7 @@
</div>
<div id="footer">
- <p>Powered by <a href="http://github.com/defunkt/resque">Pathways</a></p>
+ <p>Powered by <a href="https://rubygems.org/gems/pathways">Pathways</a></p>
</div>
</body>
View
2  lib/pathways/server/views/sessions.erb
@@ -4,6 +4,6 @@
<ul>
<% sessions.sort_by{|s|s.created_at}.each do | session | %>
- <li><b><%= session.state %></b> <%= session.ip %> <a href="/sessions/<%= session.id %>/visits">Show Session</a> - <%=session.visits.count %> pages <%= "in #{session.visits.reject{|v|v.time_active.nil?}.sum(&:time_active)} seconds" if session.state == "closed" %></li>
+ <li><b><%= session.state %></b> <%= session.ip %> <a href="/sessions/<%= session.id %>">Show Session</a> - <%=session.visits.count %> pages <%= "in #{session.visits.reject{|v|v.time_active.nil?}.sum(&:time_active)} seconds" if session.state == "closed" %></li>
<% end %>
</ul>
Please sign in to comment.
Something went wrong with that request. Please try again.