diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-14 12:33:21 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-14 12:33:21 +0100 |
commit | 3975bcbd9c1c23467a6657f9c8741f49b17e9cc1 (patch) | |
tree | eee38ea4a31a056b39e57b7da33c2f7f2f63e59e /app/controllers/user_controller.rb | |
parent | 2bb33debfb2ada973215f4be7c829ef8a17eb13c (diff) |
Rename action to say it is setting photo
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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." |