Skip to content
Snippets Groups Projects
Commit c913f40c authored by MrHammy's avatar MrHammy
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
@@ -10,7 +10,7 @@
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment