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
element
[pettanr/pettanr.git]
/
app
/
models
/
scroll_panel.rb
diff --git
a/app/models/scroll_panel.rb
b/app/models/scroll_panel.rb
index
75e658d
..
356efd0
100644
(file)
--- a/
app/models/scroll_panel.rb
+++ b/
app/models/scroll_panel.rb
@@
-1,4
+1,5
@@
-class ScrollPanel < Peta::Content
+class ScrollPanel < Peta::Element
+ load_manifest
belongs_to :author
belongs_to :panel
belongs_to :scroll
@@
-13,10
+14,6
@@
class ScrollPanel < Peta::Content
}
end
- def self.owner_model
- Scroll
- end
-
def supply_default
self.scroll_id = nil
self.panel_id = nil