Setting the hideDefaultLocaleInURL config option in master view to have access in JS

parent 37bdae90
......@@ -81,6 +81,7 @@
currentLocale: '{{ locale() }}',
editor: '{{ $activeEditor }}',
adminPrefix: '{{ config('asgard.core.core.admin-prefix') }}',
hideDefaultLocaleInURL: '{{ config('laravellocalization.hideDefaultLocaleInURL') }}'
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment