Fix bug.
This commit is contained in:
parent
f85df36098
commit
d8f4e16f0e
|
@ -32,6 +32,8 @@ class AnnouncementsController < ApplicationController
|
||||||
@enable_search_flag = true
|
@enable_search_flag = true
|
||||||
end
|
end
|
||||||
when @show_option_items.keys[2].to_s
|
when @show_option_items.keys[2].to_s
|
||||||
|
value = YAML.load(select_option_item.value)
|
||||||
|
tmp = value[:en]
|
||||||
if tmp == t('announcement.small_size')
|
if tmp == t('announcement.small_size')
|
||||||
@image_version = 'thumb'
|
@image_version = 'thumb'
|
||||||
elsif tmp == t('announcement.medium_size')
|
elsif tmp == t('announcement.medium_size')
|
||||||
|
|
Loading…
Reference in New Issue