experiment

This commit is contained in:
Tangent 2019-06-27 20:06:39 -07:00
parent 9d78ff8a84
commit 386cfee85a

View File

@ -21,7 +21,8 @@ class extends lapis.Application
return redirect_to: @url_for "tracks"
POST: =>
if track = update_track(@params)
return redirect_to: @url_for "track", id: track.id
-- return redirect_to: @url_for "track", id: track.id
return redirect_to: @url_for "track", id: @params.id
else
return redirect_to: @url_for "tracks"
}