diff options
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/content_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 6043089..6bcd437 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb | |||
| @@ -108,6 +108,7 @@ module ContentHelper | |||
| 108 | end | 108 | end |
| 109 | 109 | ||
| 110 | options[:partial] = select_partial(options[:partial]) | 110 | options[:partial] = select_partial(options[:partial]) |
| 111 | options[:node] = @page.node if options[:children].present? | ||
| 111 | 112 | ||
| 112 | sanitize(content.sub(tag, render_collection(options)), :attributes => cccms_attributes) | 113 | sanitize(content.sub(tag, render_collection(options)), :attributes => cccms_attributes) |
| 113 | else | 114 | else |
