diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-10-30 15:09:04 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-10-30 15:09:04 +0000 |
commit | 08d958981182aeb44eec5174e455ab41f60f9a10 (patch) | |
tree | 79249b46d1135dccc90f222d75afffb3d064ede5 /app/controllers/application_controller.rb | |
parent | deaede70df7cf68f380e00f01950b48c0e73a4fa (diff) |
Redirect calls to admin_http_auth_user to more generic wrapper admin_current_user
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f29015c63..bd56a9fa8 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -340,6 +340,10 @@ class ApplicationController < ActionController::Base end + def admin_current_user + admin_http_auth_user + end + # For administration interface, return display name of authenticated user def admin_http_auth_user # This needs special magic in mongrel: http://www.ruby-forum.com/topic/83067 |