Skip to content
Browse files

Ah, this should have been in the previous commit.

  • Loading branch information...
1 parent 98321ab commit c597616808713c380f326603a701959d3cbd8c61 @sj26 sj26 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/nestive/layout_helper.rb
View
2 app/helpers/nestive/layout_helper.rb
@@ -89,7 +89,7 @@ def extends(layout, &block)
layout = layout.include?('/') ? layout : "layouts/#{layout}"
# Capture the content to be placed inside the extended layout
- content_for :layout, capture(&block)
+ content_for(:layout).replace capture(&block)
render :file => layout
end

0 comments on commit c597616

Please sign in to comment.
Something went wrong with that request. Please try again.