fix menu item image path
This commit is contained in:
@@ -24,7 +24,7 @@ if item.is_available
|
||||
json.name item.name
|
||||
json.alt_name item.alt_name
|
||||
if item.image_path.present?
|
||||
json.image "#{request_url}/ok/#{item.image_path}"
|
||||
json.image "#{request_url}#{item.image_path}"
|
||||
else
|
||||
json.image ''
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user