This commit is contained in:
Manish Verma
2016-12-13 18:18:25 +05:30
parent fc98add11c
commit 2d8e640e9b
2314 changed files with 97798 additions and 75664 deletions

View File

@@ -0,0 +1,44 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class ComposerServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
view()->composer(
[
'themes.default1.agent.layout.agent',
'themes.default1.agent.helpdesk.dashboard.dashboard'
], 'App\Http\ViewComposers\AgentLayout'
);
view()->composer(
[
'themes.default1.update.notification',
], 'App\Http\ViewComposers\UpdateNotification'
);
view()->composer(
[
'themes.default1.agent.layout.agent',
'themes.default1.admin.layout.admin',
], 'App\Http\ViewComposers\AuthUser'
);
}
/**
* Register the application services.
*
* @return void
*/
public function register()
{
//
}
}