diff --git a/app/assets/javascripts/discourse/components/d-link.js.es6 b/app/assets/javascripts/discourse/components/d-link.js.es6 index c8fda35c204..533d80c6ee3 100644 --- a/app/assets/javascripts/discourse/components/d-link.js.es6 +++ b/app/assets/javascripts/discourse/components/d-link.js.es6 @@ -21,7 +21,7 @@ export default Ember.Component.extend({ params.push(model); } - return router.router.generate.apply(router.router, params); + return Discourse.getURL(router.router.generate.apply(router.router, params)); } }