Closed mori-atsushi closed 7 years ago
def index @song = Song.find(params[:song_id]) render 'show', formats: 'json', handlers: 'jbuilder'
↓
def index @song = Song.find(params[:song_id]) render 'index', formats: 'json', handlers: 'jbuilder'
↓