possible error in compiling main.moon?

This commit is contained in:
Tangent 2019-06-27 20:01:21 -07:00
parent 13f9779038
commit 079c3207d2

View File

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