added caching for recent and most interesting views

This commit is contained in:
Andrew Davidson 2009-10-31 22:54:28 -07:00
parent 0bb7385373
commit 24d4d27b51

View file

@ -3,6 +3,9 @@ class FlickrController < ApplicationController
require 'flickraw'
@@flickr_id = "13827925@N00"
caches_action :interesting, :recent
def photo
@pid = params[:id]
begin