Class: Voluntary::Api::V1::Music::TracksController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/voluntary/api/v1/music/tracks_controller.rb

Instance Method Summary collapse

Instance Method Details

#bulkObject



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