Restructure notes URLs according to standard rails conventions
This commit is contained in:
parent
6aca6cfabf
commit
c9fb146608
21 changed files with 196 additions and 80 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue