fix error
This commit is contained in:
parent
7b4f271fcc
commit
d0f01780c1
|
@ -407,6 +407,7 @@ class AnnouncementsController < ApplicationController
|
||||||
@tab_option = 0
|
@tab_option = 0
|
||||||
@read_more_option = 0
|
@read_more_option = 0
|
||||||
@all_setting_option = 0
|
@all_setting_option = 0
|
||||||
|
@image_version = 'thumb'
|
||||||
if subpart.methods.include? 'select_options'.to_sym
|
if subpart.methods.include? 'select_options'.to_sym
|
||||||
ModuleApp.all.select{|tmp| tmp.key.to_s=='announcement'}.each do |modile_app|
|
ModuleApp.all.select{|tmp| tmp.key.to_s=='announcement'}.each do |modile_app|
|
||||||
@show_options = modile_app.show_options rescue nil
|
@show_options = modile_app.show_options rescue nil
|
||||||
|
|
Loading…
Reference in New Issue