changed ann default image name

This commit is contained in:
Harry Bomrah 2015-03-10 18:02:23 +08:00
parent 9745d09990
commit d0e9ffbf39
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class AnnouncementsController < ApplicationController
"postdate" => a.postdate,
"author" => author,
"link_to_show" => OrbitHelper.widget_item_url(a.to_param),
"img_src" => a.image.thumb.url || "http://placehold.it/100x100",
"img_src" => a.image.thumb.url || "/assets/announcement-default.jpg",
"img_description" => a.image_description
}
end