fixed date for paper
This commit is contained in:
parent
8aa68a455f
commit
efe3a77cf5
|
@ -66,6 +66,7 @@ class EPapersController < ApplicationController
|
||||||
"period" => paper.period,
|
"period" => paper.period,
|
||||||
"description" => paper.description,
|
"description" => paper.description,
|
||||||
"category" => paper.category.title,
|
"category" => paper.category.title,
|
||||||
|
"publish_date" => paper.created_at.strftime("%Y-%m-%d"),
|
||||||
"th_title" => t('e_paper.title'),
|
"th_title" => t('e_paper.title'),
|
||||||
"th_category" => t('category'),
|
"th_category" => t('category'),
|
||||||
"th_period" => t('e_paper.period'),
|
"th_period" => t('e_paper.period'),
|
||||||
|
|
Loading…
Reference in New Issue