Class: Samples::StudiesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Samples::StudiesController
- Defined in:
- app/controllers/samples/studies_controller.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/samples/studies_controller.rb', line 6 def index studies = Sample.find(params[:sample_id]).studies respond_to do |format| format.xml { render xml: studies.to_xml } end end |