mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
31 lines
560 B
PHP
31 lines
560 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Providers;
|
||
|
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
|
||
|
class ComposerServiceProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Register bindings in the container.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
view()->composer(
|
||
|
['accounts.details', 'clients.edit', 'payments.edit', 'invoices.edit'],
|
||
|
'App\Http\ViewComposers\TranslationComposer'
|
||
|
);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Register the service provider.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function register()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|