Added a missing breadcrumb.

This commit is contained in:
James Cole 2015-07-26 07:41:10 +02:00
parent 2492b1fa96
commit 2213c68155

View File

@ -280,9 +280,16 @@ Breadcrumbs::register(
}
);
Breadcrumbs::register(
'change-password', function (Generator $breadcrumbs) {
'profile.change-password', function (Generator $breadcrumbs) {
$breadcrumbs->parent('profile');
$breadcrumbs->push(trans('breadcrumbs.changePassword'), route('change-password'));
$breadcrumbs->push(trans('breadcrumbs.changePassword'), route('profile.change-password'));
}
);
Breadcrumbs::register(
'profile.delete-account', function (Generator $breadcrumbs) {
$breadcrumbs->parent('profile');
$breadcrumbs->push(trans('firefly.delete_account'), route('profile.delete-account'));
}
);