Commit b9ab93e1 authored by Valeriy Sizov's avatar Valeriy Sizov

Merge pull request #930 from benphelps/patch-1

Fix typo in wiki page last edited message.
parents a78908c6 6ff99fe9
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
= preserve do = preserve do
= markdown @wiki.content = markdown @wiki.content
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at} %p.time Last edited by #{@wiki.user.name}, #{time_ago_in_words @wiki.created_at} ago
- if can? current_user, :admin_wiki, @project - if can? current_user, :admin_wiki, @project
= link_to project_wiki_path(@project, @wiki), :confirm => "Are you sure you want to delete this page?", :method => :delete do = link_to project_wiki_path(@project, @wiki), :confirm => "Are you sure you want to delete this page?", :method => :delete do
Delete this page Delete this page
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment