From 9f2b2b9a430b240eac2a5e73704af92bcea16ea4 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Thu, 29 Dec 2022 22:17:54 -0600 Subject: [PATCH] fix for url --- app/views/author/components/draft-list.pug | 2 +- app/views/author/components/list.pug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/author/components/draft-list.pug b/app/views/author/components/draft-list.pug index 565fda7..a1ea512 100644 --- a/app/views/author/components/draft-list.pug +++ b/app/views/author/components/draft-list.pug @@ -59,6 +59,6 @@ mixin renderFullDraftList (posts) onclick="return dtp.app.deletePost(event);", ).uk-text-danger +renderButtonIcon('fa-trash', 'delete') - +renderPaginationBar('/author/post', drafts.totalPostCount) + +renderPaginationBar('/author/posts', drafts.totalPostCount) else .uk-margin-small You have no drafts. \ No newline at end of file diff --git a/app/views/author/components/list.pug b/app/views/author/components/list.pug index 29f6fe2..16fcf87 100644 --- a/app/views/author/components/list.pug +++ b/app/views/author/components/list.pug @@ -65,6 +65,6 @@ mixin renderPublishedPostList (posts) span i.fas.fa-eye span.uk-margin-small-left= formatCount(post.stats.totalVisitCount) - +renderPaginationBar('/author/post', published.totalPostCount) + +renderPaginationBar('/author/posts', published.totalPostCount) else .uk-margin-small No published posts. \ No newline at end of file