Fix typo in default widget not showing objects in front end
This commit is contained in:
parent
ff30b3d05e
commit
37a38369e7
|
@ -42,7 +42,7 @@ class DefaultWidgetController< OrbitWidgetController
|
|||
|
||||
def default_widget
|
||||
if !params[:id].blank?
|
||||
redirect_to eval("#{@page_part.module_app.widget_fields_link_method['title']['method']}('#{params[:id]}', {inner: #{params[:inner] || true}})")
|
||||
redirect_to eval("#{@page_part.module_app.widget_fields_link_method[:title][:method]}('#{params[:id]}', {inner: #{params[:inner] || true}})")
|
||||
else
|
||||
@tag_class = nil
|
||||
@default_widget = @page_part.module_app.get_default_widget
|
||||
|
|
Reference in New Issue