diff options
Diffstat (limited to 'src/http/assets.go')
-rw-r--r-- | src/http/assets.go | 8 |
1 files changed, 6 insertions, 2 deletions
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(), + ) }) } |