mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
edbeec91ba
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
30 lines
405 B
YAML
30 lines
405 B
YAML
# tree mixins
|
|
tree_1:
|
|
id: 1001
|
|
type: TreeMixin
|
|
parent_id: 0
|
|
|
|
tree_2:
|
|
id: 1002
|
|
type: TreeMixin
|
|
parent_id: 1001
|
|
|
|
tree_3:
|
|
id: 1003
|
|
type: TreeMixin
|
|
parent_id: 1002
|
|
|
|
tree_4:
|
|
id: 1004
|
|
type: TreeMixin
|
|
parent_id: 1001
|
|
|
|
# List mixins
|
|
|
|
<% (1..4).each do |counter| %>
|
|
list_<%= counter %>:
|
|
id: <%= counter+1006 %>
|
|
pos: <%= counter %>
|
|
type: ListMixin
|
|
parent_id: 5
|
|
<% end %>
|