Commit c913f40c authored by MrHammy's avatar MrHammy

Update app/views/wikis/pages.html.haml

Changed the link in the pages of the wiki to the direct link instead of the first created page
parent 32dadb46
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- @wikis.each_with_index do |wiki_page, i| - @wikis.each_with_index do |wiki_page, i|
%tr %tr
%td %td
= link_to wiki_page.title, project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id) = link_to wiki_page.title, project_wiki_path(@project, wiki_page)
(#{time_ago_in_words(wiki_page.created_at)} (#{time_ago_in_words(wiki_page.created_at)}
ago) ago)
%td= wiki_page.slug %td= wiki_page.slug
......
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