Skip to content

Commit

Permalink
Add pagination links for accounts listing in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Jun 3, 2011
1 parent 92689c9 commit 01447f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/admin/accounts/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
%td
= button_to("Activer", [:admin, account], :method => :put) if account.inactive? && account.user_id != 1
= button_to("Suspendre", [:admin, account], :method => :put) if !account.inactive?

= paginate @accounts

0 comments on commit 01447f0

Please sign in to comment.