bad copypasta
Oleg
committed May 16, 2011
commit 536af7f699a2bd273380584a3fdbb9997e770b70
Showing 1
changed file with
1 additions
and 2 deletions
comfortable_mexican_sofa/fixtures.rb b/lib/comfortable_mexican_sofa/fixtures.rb
+1
-2
| @@ | @@ -80,8 +80,7 @@ module ComfortableMexicanSofa::Fixtures |
| end | |
| elsif page.new_record? | |
| page.label = slug.titleize | |
| - | page.layout = site.layouts.find_by_slug(attributes[:layout]) || parent.try(:layout) |
| - | |
| + | page.layout = parent.try(:layout) |
| end | |
| # updating content | |