Files
danbooru/app/views/wiki_pages/_recent_changes.html.erb
Toks 46aad0d3f1 fixes #1576
The "params[:order] ||= params.delete(:sort)" is to support existing
links using sort.
2013-07-12 13:18:19 -04:00

9 lines
288 B
Plaintext

<section>
<h1>Recent Changes (<%= link_to "all", wiki_pages_path(:order => "time") %>)</h1>
<ul>
<% WikiPage.recent.each do |page| %>
<li class="category-<%= page.category_name %>"><%= link_to page.pretty_title, wiki_page_path(page) %></li>
<% end %>
</ul>
</section>