fix error
This commit is contained in:
parent
17f67c0f01
commit
e643af1885
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue