From d0e9ffbf39b7e671cd72c2fd0308d402baca09af Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 10 Mar 2015 18:02:23 +0800 Subject: [PATCH] changed ann default image name --- app/controllers/announcements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 2b9ce38..5f9f4a2 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -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