app/controllers/lookbook/app_controller.rb in lookbook-0.3.1 vs app/controllers/lookbook/app_controller.rb in lookbook-0.3.2
- old
+ new
@@ -93,10 +93,10 @@
{
label: example.label,
html: preview_controller.render_example_to_string(@preview, example.name)
}
end
- joined = render_to_string "./preview_group", locals: {examples: examples}, layout: nil
+ joined = render_to_string "lookbook/preview_group", locals: {examples: examples}, layout: nil
preview_controller.render_in_layout_to_string(joined, @preview.lookbook_layout)
else
preview_controller.request.params[:path] = "#{@preview.preview_name}/#{@example.name}".chomp("/")
preview_controller.process(:previews)
end