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: => POST: =>
track = create_track(@params) track = create_track(@params)
if track if track
redirect_to: @url_for "track", id: track.id return redirect_to: @url_for "track", id: track.id
else else
redirect_to: @url_for "new_track" return redirect_to: @url_for "new_track"
} }