aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorrhenium <re4k@re4k.info>2013-05-19 00:06:18 +0900
committerrhenium <re4k@re4k.info>2013-05-19 00:06:18 +0900
commitc93b516fdb0a2f826bde15aaefe3a66508639111 (patch)
tree9499b9cf64b28231ce5930da674603efdfa8ff8d /app/controllers/application_controller.rb
parent0e2b4dd140f37fc67c11f990b473762c9a3fd5f7 (diff)
downloadaclog-c93b516fdb0a2f826bde15aaefe3a66508639111.tar.gz
update protected user support
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 029aba9..b48be9c 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -5,6 +5,7 @@ class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :check_format, :check_session
after_filter :xhtml
+ helper_method :authorized_to_show?
protected
def _get_user(id, screen_name)