small fix
This commit is contained in:
parent
16df9ac38a
commit
c766bf76a2
|
@ -50,8 +50,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"status" => status["name"],
|
"status" => status["name"],
|
||||||
"status-class" => "status-#{status['classname']}"
|
"status-class" => "status-#{status['classname']}"
|
||||||
}
|
}
|
||||||
author = User.find(a.create_user_id).member_profile.name rescue ""
|
|
||||||
end
|
end
|
||||||
|
author = User.find(a.create_user_id).member_profile.name rescue ""
|
||||||
{
|
{
|
||||||
"title" => a.title,
|
"title" => a.title,
|
||||||
"subtitle" => a.subtitle,
|
"subtitle" => a.subtitle,
|
||||||
|
|
Loading…
Reference in New Issue