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'
|
require 'flickraw'
|
||||||
@@flickr_id = "13827925@N00"
|
@@flickr_id = "13827925@N00"
|
||||||
|
|
||||||
|
caches_action :interesting, :recent
|
||||||
|
|
||||||
|
|
||||||
def photo
|
def photo
|
||||||
@pid = params[:id]
|
@pid = params[:id]
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue