cyder / Aktiva-V2-Server

API server + docker
0 stars 0 forks source link

曲情報APIのviewをshowからindexに変更する #20

Closed mori-atsushi closed 7 years ago

mori-atsushi commented 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'