Permalink
Browse files

increase workingness factor

  • Loading branch information...
1 parent 1728558 commit 512db583ecf6800f1ae931c7ffec98b64fd7f8ea @cradle cradle committed Oct 17, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/controllers/preview_controller.rb
@@ -22,6 +22,7 @@ def construct_page
page.parent = Page.find($1)
elsif request.referer =~ %r{/admin/pages/edit/(\d+)}
page = Page.find($1)
+ page.parts = []
page.attributes = params['page']
end
params.fetch('part', []).each do |i, attrs|

0 comments on commit 512db58

Please sign in to comment.