correct compilation error
This commit is contained in:
parent
4d91f73d31
commit
ae21c76816
4
app.moon
4
app.moon
@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user