Class: LesliAudit::RequestsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/lesli_audit/requests_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

GET /requests



37
38
39
40
41
42
43
44
# File 'app/controllers/lesli_audit/requests_controller.rb', line 37

def index
    respond_to do |format|
        format.html
        format.json { 
            respond_with_pagination(LesliAudit::RequestService.new(current_user, query).index)
        }
    end
end