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:
@ -49,7 +49,7 @@
|
|||||||
if (module.default) module.default(app);
|
if (module.default) module.default(app);
|
||||||
}
|
}
|
||||||
|
|
||||||
app.boot({!! json_encode($payload) !!});
|
app.boot(@json($payload));
|
||||||
@if (! $debug)
|
@if (! $debug)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
window.location += (window.location.search ? '&' : '?') + 'nojs=1';
|
window.location += (window.location.search ? '&' : '?') + 'nojs=1';
|
||||||
|
Reference in New Issue
Block a user