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)
|
||||
{
|
||||
View::composer(['home', '*.base', 'shared.header'], function ($view) {
|
||||
View::composer([
|
||||
'home',
|
||||
'*.base',
|
||||
'*.master',
|
||||
'shared.header'
|
||||
], function ($view) {
|
||||
$lightColors = ['light', 'warning', 'white', 'orange'];
|
||||
$color = option('navbar_color');
|
||||
$view->with([
|
||||
|
@ -11,9 +11,7 @@
|
||||
@include('shared.header')
|
||||
@include('shared.sidebar', ['scope' => 'admin'])
|
||||
@yield('content')
|
||||
<footer class="main-footer">
|
||||
@include('shared.footer')
|
||||
</footer>
|
||||
@include('shared.footer')
|
||||
</div>
|
||||
|
||||
@include('shared.foot')
|
||||
|
@ -11,9 +11,7 @@
|
||||
@include('shared.header')
|
||||
@include('shared.sidebar', ['scope' => 'user'])
|
||||
@yield('content')
|
||||
<footer class="main-footer">
|
||||
@include('shared.footer')
|
||||
</footer>
|
||||
@include('shared.footer')
|
||||
</div>
|
||||
|
||||
@include('shared.foot')
|
||||
|
Loading…
Reference in New Issue
Block a user