@ar.overwrite @author
respond_to do |format|
if @ar.save
- format.html { redirect_to @ar, notice: 'Artist was successfully created.' }
+ format.html { redirect_to root_path, notice: 'Artist was successfully created.' }
format.json { render json: @ar.to_json(Artist.show_json_opt), status: :created, location: @artist }
else
format.html { render action: "new" }
respond_to do |format|
if @ar.save
- format.html { redirect_to @ar, notice: 'Artist was successfully updated.' }
+ format.html { redirect_to '/home/configure', notice: 'Artist was successfully updated.' }
format.json { head :ok }
else
format.html { render action: "edit" }