aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-05-29 11:54:43 +0100
committerLouise Crow <louise.crow@gmail.com>2013-05-29 11:54:43 +0100
commit29e6847f609ea0480b15d6b974d10c504c008262 (patch)
tree2aa0c1794f70270ccd81e3e180a27cecf3ceaadd /app/controllers/user_controller.rb
parent3ef294c54f07e121eca86cdf3a625c5fb3df0e38 (diff)
parent16c075c68159ef79dd196196a4171f54934f9c41 (diff)
Merge branch 'rails-3-develop' into release/0.11
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r--app/controllers/user_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb
index dca3cda17..b7912b528 100644
--- a/app/controllers/user_controller.rb
+++ b/app/controllers/user_controller.rb
@@ -527,7 +527,7 @@ class UserController < ApplicationController
def get_draft_profile_photo
profile_photo = ProfilePhoto.find(params[:id])
response.content_type = "image/png"
- render_for_text(profile_photo.data)
+ render :text => profile_photo.data
end
# actual profile photo of a user
@@ -542,7 +542,7 @@ class UserController < ApplicationController
end
response.content_type = "image/png"
- render_for_text(@display_user.profile_photo.data)
+ render :text => @display_user.profile_photo.data
end
# Change about me text on your profile page