summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/history.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/history.html.haml')
-rw-r--r--app/views/projects/wikis/history.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/wikis/history.html.haml b/app/views/projects/wikis/history.html.haml
index bc1ab5065e4..9ee09262324 100644
--- a/app/views/projects/wikis/history.html.haml
+++ b/app/views/projects/wikis/history.html.haml
@@ -29,13 +29,13 @@
commit.id, index == 0) do
= truncate_sha(commit.id)
%td
- = commit.author.name
+ = commit.author_name
%td
= commit.message
%td
#{time_ago_with_tooltip(version.authored_date)}
%td
%strong
- = @page.page.wiki.page(@page.page.name, commit.id).try(:format)
+ = version.format
= render 'sidebar'