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
This commit is contained in:
MrHammy 2013-01-11 13:40:29 +01:00
parent 32dadb46fa
commit c913f40ca4

View file

@ -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