added caching for recent and most interesting views
This commit is contained in:
parent
0bb7385373
commit
24d4d27b51
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ class FlickrController < ApplicationController
|
|||
require 'flickraw'
|
||||
@@flickr_id = "13827925@N00"
|
||||
|
||||
caches_action :interesting, :recent
|
||||
|
||||
|
||||
def photo
|
||||
@pid = params[:id]
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue