fix for source
This commit is contained in:
parent
2e8bca12af
commit
6502df721c
|
@ -79,7 +79,7 @@ class AnnouncementsController < ApplicationController
|
||||||
"category" => fa["category"],
|
"category" => fa["category"],
|
||||||
"postdate" => fa["postdate"],
|
"postdate" => fa["postdate"],
|
||||||
"author" => fa["author"],
|
"author" => fa["author"],
|
||||||
"source-site" => "<a href='#{fa["source-site"]}' target='_blank'>Source</a>",
|
"source-site" => "<a href='#{fa["source-site"]}' target='_blank'>#{fa["source-site-title"]}</a>",
|
||||||
"link_to_show" => OrbitHelper.url_to_show(fa["params"]),
|
"link_to_show" => OrbitHelper.url_to_show(fa["params"]),
|
||||||
"img_src" => fa["image"]["thumb"] || "/assets/announcement-default.jpg",
|
"img_src" => fa["image"]["thumb"] || "/assets/announcement-default.jpg",
|
||||||
"img_description" => fa["image_description_translations"][locale],
|
"img_description" => fa["image_description_translations"][locale],
|
||||||
|
|
Loading…
Reference in New Issue