discourse/app/assets/javascripts/discourse-common/addon/helpers/get-url.js

5 lines
168 B
JavaScript

import { registerUnbound } from "discourse-common/lib/helpers";
import getUrl from "discourse-common/lib/get-url";
registerUnbound("get-url", value => getUrl(value));