Class: Batches::RequestsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Batches::RequestsController
- Defined in:
- app/controllers/batches/requests_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 10 |
# File 'app/controllers/batches/requests_controller.rb', line 7 def index requests = Batch.find(params[:batch_id]).requests respond_to { |format| format.xml { render xml: requests.to_xml } } end |