Class: Voluntary::Api::V1::Music::TracksController
- Inherits:
-
BaseController
- Object
- BaseController
- Voluntary::Api::V1::Music::TracksController
- Defined in:
- app/controllers/voluntary/api/v1/music/tracks_controller.rb
Instance Method Summary collapse
Instance Method Details
#bulk ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/voluntary/api/v1/music/tracks_controller.rb', line 8 def bulk respond_to do |format| format.json { render json: MusicTrack.(params[:tracks]).to_json } end end |