add new files
This commit is contained in:
5
app/controllers/batches_controller.rb
Normal file
5
app/controllers/batches_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class BatchesController < ApplicationController
|
||||
def index
|
||||
@batches=Batch.all.page(params[:page]).per(2)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user