experiment
This commit is contained in:
parent
9d78ff8a84
commit
386cfee85a
3
app.moon
3
app.moon
@ -21,7 +21,8 @@ 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
|
||||||
|
return redirect_to: @url_for "track", id: @params.id
|
||||||
else
|
else
|
||||||
return redirect_to: @url_for "tracks"
|
return redirect_to: @url_for "tracks"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user