From 3975bcbd9c1c23467a6657f9c8741f49b17e9cc1 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Wed, 14 Jul 2010 12:33:21 +0100 Subject: Rename action to say it is setting photo --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/user_controller.rb') diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index b3f9511b5..277d0cd73 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -342,7 +342,7 @@ class UserController < ApplicationController }.flatten.sort { |a,b| b[:model].created_at <=> a[:model].created_at }.first(20) end - def profile_photo + def set_profile_photo # check they are logged in (the upload photo option is anyway only available when logged in) if authenticated_user.nil? flash[:error] = "You need to be logged in to change your profile photo." -- cgit v1.2.3