small fix

This commit is contained in:
harrybomrah committed 2014-11-25 18:25:54 +08:00
1 parent 16df9ac38a
commit c766bf76a2
1 file changed
+1 -1
+1 -1
View File
@@ -50,8 +50,8 @@ class AnnouncementsController < ApplicationController
"status" => status["name"],
"status-class" => "status-#{status['classname']}"
}
author = User.find(a.create_user_id).member_profile.name rescue ""
end
author = User.find(a.create_user_id).member_profile.name rescue ""
{
"title" => a.title,
"subtitle" => a.subtitle,