Fix "*.master" templates
This commit is contained in:
parent
61eea2b980
commit
6fc099bb34
@ -11,7 +11,12 @@ class ViewServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
public function boot(Webpack $webpack)
|
public function boot(Webpack $webpack)
|
||||||
{
|
{
|
||||||
View::composer(['home', '*.base', 'shared.header'], function ($view) {
|
View::composer([
|
||||||
|
'home',
|
||||||
|
'*.base',
|
||||||
|
'*.master',
|
||||||
|
'shared.header'
|
||||||
|
], function ($view) {
|
||||||
$lightColors = ['light', 'warning', 'white', 'orange'];
|
$lightColors = ['light', 'warning', 'white', 'orange'];
|
||||||
$color = option('navbar_color');
|
$color = option('navbar_color');
|
||||||
$view->with([
|
$view->with([
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
@include('shared.header')
|
@include('shared.header')
|
||||||
@include('shared.sidebar', ['scope' => 'admin'])
|
@include('shared.sidebar', ['scope' => 'admin'])
|
||||||
@yield('content')
|
@yield('content')
|
||||||
<footer class="main-footer">
|
|
||||||
@include('shared.footer')
|
@include('shared.footer')
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@include('shared.foot')
|
@include('shared.foot')
|
||||||
|
@ -11,9 +11,7 @@
|
|||||||
@include('shared.header')
|
@include('shared.header')
|
||||||
@include('shared.sidebar', ['scope' => 'user'])
|
@include('shared.sidebar', ['scope' => 'user'])
|
||||||
@yield('content')
|
@yield('content')
|
||||||
<footer class="main-footer">
|
|
||||||
@include('shared.footer')
|
@include('shared.footer')
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@include('shared.foot')
|
@include('shared.foot')
|
||||||
|
Loading…
Reference in New Issue
Block a user