fix show page postdate
This commit is contained in:
parent
696046f792
commit
e7b9e076cc
|
@ -203,7 +203,7 @@ class AnnouncementsController < ApplicationController
|
|||
"title" => announcement.title,
|
||||
"categories-title" => t("announcement.categories"),
|
||||
"update_user" => update_user,
|
||||
"updated_at" => announcement.updated_at.strftime('%Y-%m-%d %H:%M'),
|
||||
"updated_at" => announcement.postdate.strftime('%Y-%m-%d %H:%M'),
|
||||
"body" =>announcement.text,
|
||||
"image" => announcement.image.url,
|
||||
"dept_link" => "/#{I18n.locale.to_s + page.url}/?unit=#{announcement.cache_dept}",
|
||||
|
|
Reference in New Issue