OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix profiler extend system
[pettanr/pettanr.git]
/
app
/
controllers
/
application_controller.rb
diff --git
a/app/controllers/application_controller.rb
b/app/controllers/application_controller.rb
index
235e0ef
..
55f54d1
100644
(file)
--- a/
app/controllers/application_controller.rb
+++ b/
app/controllers/application_controller.rb
@@
-66,8
+66,8
@@
class ApplicationController < ActionController::Base
authenticate_user! unless @operators.user?
end
- def authenticate_
us
er
- authenticate_user! unless @operators.
us
er?
+ def authenticate_
resource_read
er
+ authenticate_user! unless @operators.
resource_read
er?
end
def authenticate_admin