FIX: Relative links in templates should work with subfolders

This commit is contained in:
Gerhard Schlager
2018-11-07 00:26:52 +01:00
parent 555f467727
commit 6b60646330
6 changed files with 11 additions and 7 deletions

View File

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