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 form extend
[pettanr/pettanr.git]
/
lib
/
peta
/
leaf.rb
diff --git
a/lib/peta/leaf.rb
b/lib/peta/leaf.rb
index
5b35555
..
8510af5
100644
(file)
--- a/
lib/peta/leaf.rb
+++ b/
lib/peta/leaf.rb
@@
-26,6
+26,10
@@
module Peta
self.__send__ self.class.root_model.item_name
end
+ def own? operators
+ self.root.own? operators
+ end
+
def visible? operators
return false unless super
self.root.visible? operators