1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 14:26:25 +02:00

using blade @json directive to parse raw json into frontend`

This commit is contained in:
Daniel Klabbers
2017-11-01 13:22:16 +01:00
parent a7f3ca4b22
commit 44e9007790

View File

@ -49,7 +49,7 @@
if (module.default) module.default(app);
}
app.boot({!! json_encode($payload) !!});
app.boot(@json($payload));
@if (! $debug)
} catch (e) {
window.location += (window.location.search ? '&' : '?') + 'nojs=1';