add limit parameter to everything
This commit is contained in:
@@ -11,7 +11,7 @@ class BansController < ApplicationController
|
||||
|
||||
def index
|
||||
@search = Ban.search(params[:search]).order("id desc")
|
||||
@bans = @search.paginate(params[:page])
|
||||
@bans = @search.paginate(params[:page], :limit => params[:limit])
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
Reference in New Issue
Block a user