lib/scrivito/controller_actions.rb in scrivito_sdk-0.65.2 vs lib/scrivito/controller_actions.rb in scrivito_sdk-0.66.0.rc1

- old
+ new

@@ -37,11 +37,12 @@ deliver_file if @obj.binary? end def show_widget widget = load_widget - widget_tag = Scrivito::WidgetTag.new(view_context, widget, nil, params[:template_name]) + widget_tag = Scrivito::WidgetTag.new(view_context, widget, nil, + params[:template_name], params[:inner_tag]) render text: widget_tag.render, layout: false end def widget_details assert_dialog_layout @@ -69,10 +70,10 @@ module ClassMethods # # This method indicates if this controller should be used automatically when an +Obj+ is # requested via the SDK's standard routes. It returns +true+ by default. # - # Overwrite it to return +false+ if you do want your controller to be excluded from +Obj+ + # Override it to return +false+ if you do want your controller to be excluded from +Obj+ # dispatching. # # @api public # @see Obj#controller_name #