fix typo in handling tag pages..again
This commit is contained in:
parent
c3e02f2596
commit
aab578ecec
2
app.moon
2
app.moon
@ -72,7 +72,7 @@ class extends lapis.Application
|
|||||||
if @page > @last_page
|
if @page > @last_page
|
||||||
return redirect_to: @url_for "tag", name: @params.name, order: @order, asc_desc: @asc_desc, page: @last_page
|
return redirect_to: @url_for "tag", name: @params.name, order: @order, asc_desc: @asc_desc, page: @last_page
|
||||||
|
|
||||||
@tracks = tags\get_page(@page)
|
@tracks = tracks\get_page(@page)
|
||||||
return render: true
|
return render: true
|
||||||
|
|
||||||
[tags: "/tags(/:order[%a])(/:asc_desc)(/:page[%d])"]: =>
|
[tags: "/tags(/:order[%a])(/:asc_desc)(/:page[%d])"]: =>
|
||||||
|
Reference in New Issue
Block a user