added pagination for all resources
This commit is contained in:
@@ -14,4 +14,5 @@ h1 = Consumer.model_name.human(count: 2)
|
||||
td = link_to(t('shared.edit'), edit_consumer_path(consumer))
|
||||
td = link_to(t('shared.destroy'), consumer, data: {confirm: t('shared.confirm_destroy')}, method: :delete)
|
||||
|
||||
= render('shared/pagination', collection: @consumers)
|
||||
p = render('shared/new_button', model: Consumer)
|
||||
|
Reference in New Issue
Block a user