mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
c72e1f0139
* Working on Oauth * splitting out JS files * Working on oAuth * working on oAuth * minor fixes * create client * create client * create client * Working on adding a client
22 lines
570 B
PHP
22 lines
570 B
PHP
<?php
|
|
|
|
// Dashboard
|
|
Breadcrumbs::for('dashboard', function ($trail) {
|
|
$trail->push(trans('texts.dashboard'), route('dashboard.index'));
|
|
});
|
|
|
|
// Dashboard > Client
|
|
Breadcrumbs::for('clients', function ($trail) {
|
|
$trail->parent('dashboard');
|
|
$trail->push(trans('texts.clients'), route('clients.index'));
|
|
});
|
|
|
|
Breadcrumbs::for('clients.edit', function($trail, $client) {
|
|
$trail->parent('clients');
|
|
$trail->push($client->name, route('clients.edit', $client));
|
|
});
|
|
|
|
Breadcrumbs::for('clients.create', function($trail) {
|
|
$trail->parent('clients');
|
|
});
|