Export any redirects
Ryan Garver
committed Mar 10, 2011
commit a43d584adda9f5a9abee2983182806112e63aeff
Showing 2
changed files with
2 additions
and 1 deletions
.gitignore
+1
-0
| @@ | @@ -11,3 +11,4 @@ rdoc |
| /tmp | |
| public/cms-css/ | |
| public/cms-js/ | |
| + | tags |
tasks/comfortable_mexican_sofa.rake b/lib/tasks/comfortable_mexican_sofa.rake
+1
-1
| @@ | @@ -238,7 +238,7 @@ namespace :comfortable_mexican_sofa do |
| end | |
| if should_write | |
| - | attributes = page.attributes.slice('label', 'slug', 'full_path', 'is_published') |
| + | attributes = page.attributes.slice('label', 'slug', 'full_path', 'is_published', 'target_page_id') |
| attributes['parent'] = page.parent.full_path if page.parent | |
| attributes['cms_layout'] = page.cms_layout.slug | |
| attributes['cms_blocks_attributes'] = page.cms_blocks_attributes.collect{|b| b.delete(:id) && b.stringify_keys} | |