From e643af188528ddc88e8c095b68dd7aeaaa91ac17 Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 1 Sep 2021 19:56:12 +0800 Subject: [PATCH] fix error --- app/controllers/site_menu_widgets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/site_menu_widgets_controller.rb b/app/controllers/site_menu_widgets_controller.rb index ca9a3a6..dd5d7da 100644 --- a/app/controllers/site_menu_widgets_controller.rb +++ b/app/controllers/site_menu_widgets_controller.rb @@ -49,7 +49,7 @@ class SiteMenuWidgetsController < ApplicationController subpart = OrbitHelper.get_current_widget params = OrbitHelper.params page = Page.where(:page_id => params[:page_id]).first - @page_id = page.id rescie nil + @page_id = page.id rescue nil @expand_layer = false @expand_next_layer = false @expand_current_layer = false