redirect_to @artist else render 'new' end enddef destroy @artist. destroy redirect_to artists_path endprivatedef set_artist @artist = Artist. find(params[:id]) enddef artist_params…
Continue Readingredirect_to @artist else render 'new' end enddef destroy @artist. destroy redirect_to artists_path endprivatedef set_artist @artist = Artist. find(params[:id]) enddef artist_params…
Continue Reading