Commit c913f40ca45c4ba66fb98ad2587f12244bc3a33a
1 parent
32dadb46
Exists in
master
and in
4 other branches
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
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/wikis/pages.html.haml
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | - @wikis.each_with_index do |wiki_page, i| | 10 | - @wikis.each_with_index do |wiki_page, i| |
| 11 | %tr | 11 | %tr |
| 12 | %td | 12 | %td |
| 13 | - = link_to wiki_page.title, project_wiki_path(@project, wiki_page, old_page_id: wiki_page.id) | 13 | + = link_to wiki_page.title, project_wiki_path(@project, wiki_page) |
| 14 | (#{time_ago_in_words(wiki_page.created_at)} | 14 | (#{time_ago_in_words(wiki_page.created_at)} |
| 15 | ago) | 15 | ago) |
| 16 | %td= wiki_page.slug | 16 | %td= wiki_page.slug |