From 24681cb019cace5217c2a096081dccd466be86cf Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 9 Aug 2017 11:59:34 +0100 Subject: [PATCH] Fixed bug in fetching the default language messages --- src/scot/weft/i18n/core.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scot/weft/i18n/core.clj b/src/scot/weft/i18n/core.clj index b0df4e8..99fcc9b 100644 --- a/src/scot/weft/i18n/core.clj +++ b/src/scot/weft/i18n/core.clj @@ -148,7 +148,10 @@ (slurp (or file-path - (str resource-path default-locale ".edn")))))) + (.getAbsolutePath + (io/file + resource-path + (str default-locale ".edn")))))))) (def get-messages