Implemented pagination for messages overview.
This commit is contained in:
parent
759217763e
commit
37199bae1d
2 changed files with 3 additions and 1 deletions
|
|
@ -2,5 +2,7 @@
|
|||
|
||||
%p= link_to('Neue Nachricht', :action => 'new')
|
||||
|
||||
%div{:style => "text-align:right"}= will_paginate @messages
|
||||
|
||||
#messages
|
||||
= render :partial => 'messages', :locals => { :subject_length => 130 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue