aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-06-11 15:05:44 -0700
committerLouise Crow <louise.crow@gmail.com>2013-06-11 15:05:44 -0700
commit565b500c2e11a5a0cc2460c0b7e80d0fe03f865e (patch)
tree5184a161743c8d2bbc5f018d0fc1bbfd40185ccf /app/controllers/user_controller.rb
parent613e1ec06dc07cff91c1bcef88c2493b52402df7 (diff)
parente1d5d1fdd379824b7890d4b24ae19769c142f72d (diff)
Merge branch 'hotfix/0.11.0.8' into wdtk
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r--app/controllers/user_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb
index b7912b528..e21315eb6 100644
--- a/app/controllers/user_controller.rb
+++ b/app/controllers/user_controller.rb
@@ -532,6 +532,7 @@ class UserController < ApplicationController
# actual profile photo of a user
def get_profile_photo
+ long_cache
@display_user = User.find(:first, :conditions => [ "url_name = ? and email_confirmed = ?", params[:url_name], true ])
if !@display_user
raise ActiveRecord::RecordNotFound.new("user not found, url_name=" + params[:url_name])