Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
increase workingness factor
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle committed Oct 17, 2008
1 parent 1728558 commit 512db58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/preview_controller.rb
Expand Up @@ -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|
Expand Down

0 comments on commit 512db58

Please sign in to comment.