You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
controller do
def index
@grouped_inventories = Sync::Product.includes(:inventories).all
toolbar(:primary, {clear: true}) do |toolbar|
toolbar.link 'Add', new_sync_inventories_admin_path, class: 'btn btn-primary', icon: 'fa fa-plus'
toolbar.dropdown 'Actions', class: 'btn btn-secondary' do |dropdown|
dropdown.link 'Sync', "#", method: :post, icon: 'fa fa-sync'
end
end
end
end
Is it possible to make a custom pagination?
The text was updated successfully, but these errors were encountered:
Hello,
I'd like to have pagination for a custom index view my code looks like this:
index view:
controller on admin:
Is it possible to make a custom pagination?
The text was updated successfully, but these errors were encountered: