typo in track POST handler
This commit is contained in:
parent
c59e9e6174
commit
13f9779038
2
app.moon
2
app.moon
@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user