fix error
This commit is contained in:
parent
3d2a33a9b8
commit
f9760abc02
|
@ -1,6 +1,6 @@
|
||||||
<%
|
<%
|
||||||
params = OrbitHelper.params
|
params = OrbitHelper.params
|
||||||
page = Page.where(url:params['url']).first
|
page = @page || Page.where(url:params['url']).first
|
||||||
@layout_type = 0
|
@layout_type = 0
|
||||||
if page.methods.include?(:select_option_items)
|
if page.methods.include?(:select_option_items)
|
||||||
@show_option_items = ModuleApp.where(key: 'gallery').last.show_option_items rescue nil
|
@show_option_items = ModuleApp.where(key: 'gallery').last.show_option_items rescue nil
|
||||||
|
|
Loading…
Reference in New Issue