From 08d958981182aeb44eec5174e455ab41f60f9a10 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 30 Oct 2012 15:09:04 +0000 Subject: Redirect calls to admin_http_auth_user to more generic wrapper admin_current_user --- app/controllers/application_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/controllers/application_controller.rb') 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 -- cgit v1.2.3