typo in track POST handler

This commit is contained in:
Tangent 2019-06-27 19:59:34 -07:00
parent c59e9e6174
commit 13f9779038

View File

@ -21,7 +21,7 @@ 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
else
return redirect_to: @url_for "tracks"
}