Restructure notes URLs according to standard rails conventions

This commit is contained in:
Tom Hughes 2012-03-10 15:45:33 +00:00
parent 6aca6cfabf
commit c9fb146608
21 changed files with 196 additions and 80 deletions

View file

@ -1,17 +0,0 @@
<p>
<% if @page > 1 %>
<%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :page => @page - 1 }) %>
<% else %>
<%= t('changeset.changeset_paging_nav.previous') %>
<% end %>
| <%= t('changeset.changeset_paging_nav.showing_page', :page => @page) %> |
<% if @notes.size < @page_size %>
<%= t('changeset.changeset_paging_nav.next') %>
<% else %>
<%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %>
<% end %>
</p>