fix: paginate and img width

This commit is contained in:
2021-11-03 11:38:47 +08:00
parent 18bbbce7b3
commit a3f57d3cbc
4 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ class Admins::Topic::CooperatorsController < Admins::Topic::BaseController
before_action :find_cooperator, only: [:edit, :update, :destroy]
def index
@cooperators = kaminari_paginate(::Topic::Cooperator)
@cooperators = paginate(::Topic::Cooperator)
end
def new