aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-10-30 15:09:04 +0000
committerLouise Crow <louise.crow@gmail.com>2012-10-30 15:09:04 +0000
commit08d958981182aeb44eec5174e455ab41f60f9a10 (patch)
tree79249b46d1135dccc90f222d75afffb3d064ede5 /app/controllers/application_controller.rb
parentdeaede70df7cf68f380e00f01950b48c0e73a4fa (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.rb4
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