From 43d8951296ce2f232ca94f0577e2e726291bf783 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 26 May 2024 21:16:02 +0200 Subject: Replace URL building methods with the URLBuilder --- src/http/assets.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/http/assets.go') diff --git a/src/http/assets.go b/src/http/assets.go index 8c5ac7e..8f43074 100644 --- a/src/http/assets.go +++ b/src/http/assets.go @@ -86,7 +86,9 @@ func (a *api) postPostAssetHandler() http.Handler { return } - a.executeRedirectTpl(rw, r, a.manageAssetsURL(false)) + a.executeRedirectTpl( + rw, r, a.urlBuilder.Assets().MethodManage().String(), + ) }) } @@ -113,6 +115,8 @@ func (a *api) deletePostAssetHandler() http.Handler { return } - a.executeRedirectTpl(rw, r, a.manageAssetsURL(false)) + a.executeRedirectTpl( + rw, r, a.urlBuilder.Assets().MethodManage().String(), + ) }) } -- cgit v1.2.3