aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/info_request_batch_controller.rb
blob: f76f7abc2546f18a73b2b1c80d85976528c3c30e (plain)
1
2
3
4
5
6
7
8
9
10
11
class InfoRequestBatchController < ApplicationController

    def show
        @info_request_batch = InfoRequestBatch.find(params[:id])
        @per_page = 25
        @page = get_search_page_from_params
        @info_requests = @info_request_batch.info_requests.all(:offset => (@page - 1) * @per_page,
                                                               :limit => @per_page)
    end

end