mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
b13b9a2d7d
- Fixes #426, resolves #426
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()
|
|
{
|
|
|
|
}
|
|
} |