Fix bug when editing a page, the theme wasn't including blank

This commit is contained in:
chris2tof committed 2011-09-13 14:03:03 +08:00
1 parent 4db88282a1
commit f2e3cb00db
5 files changed
+13 -13

No files matched your search

+6 -6
View File
@@ -81,9 +81,9 @@ namespace :dev do
design.build_layout
design.layout.file = File.open("#{Rails.root}/lib/fraisier/layout.html")
design.layout
theme
theme_1
design.layout.save
theme.save
theme_1.save
# image.save
# js.save
@@ -105,9 +105,9 @@ namespace :dev do
design_1.build_layout
design_1.layout.file = File.open("#{Rails.root}/lib/fraisier/layout.html")
design_1.layout
theme
theme_1
design_1.layout.save
theme.save
theme_1.save
# image.save
# js.save