small fix

This commit is contained in:
Harry Bomrah 2014-11-25 18:25:54 +08:00
parent 16df9ac38a
commit c766bf76a2
1 changed files with 1 additions and 1 deletions

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,