76aad9b76e
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
12 lines
401 B
Text
12 lines
401 B
Text
= render 'nav'
|
|
%h3.page-title
|
|
All Pages
|
|
%ul.bordered-list
|
|
- @wiki_pages.each do |wiki_page|
|
|
%li
|
|
%h4
|
|
= link_to wiki_page.title, namespace_project_wiki_path(@project.namespace, @project, wiki_page)
|
|
%small (#{wiki_page.format})
|
|
.pull-right
|
|
%small Last edited #{time_ago_with_tooltip(wiki_page.commit.authored_date)}
|
|
= paginate @wiki_pages, theme: 'gitlab'
|