FIX: Use imported getURL (#73)

This commit is contained in:
Kane York 2020-07-06 20:28:48 -07:00 committed by GitHub
parent c27e198873
commit d4ea029609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
import getURL from "discourse-common/lib/get-url";
export default Ember.Component.extend({
tagName: "tr",
href: function() {
return Discourse.getAppURL("/admin/upgrade");
return getURL("/admin/upgrade");
}.property()
});