mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 04:13:41 +08:00
5 lines
168 B
JavaScript
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));
|