Move $app_locale into AppComposer

This commit is contained in:
James Brooks
2015-11-21 22:58:25 +00:00
parent 49e33d0556
commit a2d7c49c2a
5 changed files with 5 additions and 4 deletions

View File

@@ -52,7 +52,7 @@
<script type="text/javascript">
var Global = {};
Global.locale = '{{ Setting::get('app_locale') }}';
Global.locale = '{{ $app_locale }}';
</script>
<script src="{{ elixir('dist/js/all.js') }}"></script>
</head>