update view_count
This commit is contained in:
parent
0fd7e69981
commit
1cbe055361
|
@ -19,7 +19,8 @@ class AnnouncementsController < ApplicationController
|
||||||
"link_to_show" => OrbitHelper.url_to_show(a.to_param),
|
"link_to_show" => OrbitHelper.url_to_show(a.to_param),
|
||||||
"img_src" => a.image.thumb.url || "http://placehold.it/100x100",
|
"img_src" => a.image.thumb.url || "http://placehold.it/100x100",
|
||||||
"img_description" => a.image_description,
|
"img_description" => a.image_description,
|
||||||
"more" => t(:more_plus)
|
"more" => t(:more_plus),
|
||||||
|
"view_count" => a.view_count
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue