Commit abdb8da9c2881b8f94a5852a63bf81dfc48d1c2a
1 parent
e690802d
Exists in
master
and in
28 other branches
r277@sede: terceiro | 2007-07-30 00:12:51 -0300
ActionItem0: putting initial MainBlock in second box git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@281 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
vendor/plugins/design/lib/acts_as_design.rb
@@ -31,6 +31,7 @@ class ActiveRecord::Base | @@ -31,6 +31,7 @@ class ActiveRecord::Base | ||
31 | n = design.boxes.size + 1 | 31 | n = design.boxes.size + 1 |
32 | design.boxes << Design::Box.new(:name => 'Block', :number => n) | 32 | design.boxes << Design::Box.new(:name => 'Block', :number => n) |
33 | end | 33 | end |
34 | + design.boxes[1].blocks << Design::MainBlock.new(:position => 1) | ||
34 | end | 35 | end |
35 | 36 | ||
36 | def design_data | 37 | def design_data |