Commit 8ccdebadd79b83e5cf9c203692eb8cd9a9bb1dc3
1 parent
55ed4cb5
Exists in
master
and in
28 other branches
ActionItem935: displaying articles's publication date
Instead of the creation date, which sometimes (when importing from other databases) is the timestamp of the object cretion
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/folder_helper.rb
... | ... | @@ -12,7 +12,7 @@ module FolderHelper |
12 | 12 | result = content_tag( |
13 | 13 | 'tr', |
14 | 14 | content_tag('td', link_to((' ' * (level * 4) ) + image_tag(icon_for_article(article)) + article.name, article.url.merge(:view => true)))+ |
15 | - content_tag('td', show_date(article.updated_at), :class => 'last-update'), | |
15 | + content_tag('td', show_date(article.published_at), :class => 'last-update'), | |
16 | 16 | :class => 'sitemap-item' |
17 | 17 | ) |
18 | 18 | if recursive | ... | ... |