Merge branch 'master' of github.com:neocities/neocities

This commit is contained in:
Victoria Wang 2015-02-18 00:00:35 -06:00
commit c3b58beb68
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
get '/activity' do
expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
#expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
params[:activity] = 'global' # FIXME this is a bad hack
@events = Event.global_dataset.all
erb :'activity'

View file

@ -61,7 +61,7 @@
<% site_change_filenames.each do |f| %>
<div class="file">
<div class="html-thumbnail <%= site_change_file_display_class f %>">
<a href="//<%= event_site.host %><%= f == 'index.html' ? '' : "/#{f}" %>">
<a href="http://<%= event_site.host %><%= f == 'index.html' ? '' : "/#{f}" %>">
<% if site_change_file_display_class(f) == 'html' %>
<img src="<%= event_site.screenshot_url(f, '210x158') %>">
<% elsif site_change_file_display_class(f) == 'image' %>