lib/scrivito/controller_actions.rb in scrivito_sdk-1.7.0 vs lib/scrivito/controller_actions.rb in scrivito_sdk-1.8.0.rc1
- old
+ new
@@ -43,10 +43,10 @@
end
def show_widget
widget = load_widget
widget_tag = Scrivito::WidgetTag.new(view_context, widget,
- render_context: params[:template_name], inner_tag: params[:inner_tag])
+ render_context: params[:render_mode], inner_tag: params[:inner_tag])
render plain: widget_tag.render, layout: false
end
def widget_details
assert_dialog_layout