wiki: improve history
This commit is contained in:
parent
85974948e7
commit
d68f8401b3
1 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,11 @@
|
|||
- @wikis.each_with_index do |wiki_page, i|
|
||||
%tr
|
||||
%td= i + 1
|
||||
%td= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
|
||||
%td
|
||||
= link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id)
|
||||
(
|
||||
= time_ago_in_words(wiki_page.created_at)
|
||||
ago
|
||||
)
|
||||
%td= wiki_page.user.name
|
||||
|
||||
|
|
Loading…
Reference in a new issue