OSDN Git Service

fix profiler extend system
[pettanr/pettanr.git] / app / controllers / application_controller.rb
index 235e0ef..55f54d1 100644 (file)
@@ -66,8 +66,8 @@ class ApplicationController < ActionController::Base
     authenticate_user! unless @operators.user?
   end
   
-  def authenticate_user
-    authenticate_user! unless @operators.user?
+  def authenticate_resource_reader
+    authenticate_user! unless @operators.resource_reader?
   end
   
   def authenticate_admin