Commit 7142dbce

mo khan <mo@mokhan.ca>
2013-12-31 20:00:56
remove etags.
1 parent 3c4d95d
Changed files (1)
app/controllers/creations_controller.rb
@@ -4,14 +4,12 @@ class CreationsController < ApplicationController
   def index
     @creations = FindAllCreationsQuery.new.fetch(params)
     expires_in(10.minutes)
-    fresh_when(Creation.maximum(:updated_at)) if Creation.any?
   end
 
   def show
     @creation = Creation.find(params[:id])
     @primary_photo = @creation.primary_image
     expires_in(1.minute)
-    #fresh_when(@creation)
   end
 
   def new