Merge pull request #2561 from MrHammy/master

Fix to pages links
This commit is contained in:
Riyad Preukschas 2013-01-11 10:20:23 -08:00
commit e54246d310

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