correct compilation error

This commit is contained in:
Tangent 2019-06-27 19:09:19 -07:00
parent 4d91f73d31
commit ae21c76816

View File

@ -81,7 +81,7 @@ class extends lapis.Application
POST: =>
track = create_track(@params)
if track
redirect_to: @url_for "track", id: track.id
return redirect_to: @url_for "track", id: track.id
else
redirect_to: @url_for "new_track"
return redirect_to: @url_for "new_track"
}