changed ann default image name

This commit is contained in:
harrybomrah committed 2015-03-10 18:02:23 +08:00
1 parent 9745d09990
commit d0e9ffbf39
1 file changed
+1 -1
+1 -1
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