From 2213c6815590cae2e2a8e8663d95bec98cceb689 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 26 Jul 2015 07:41:10 +0200 Subject: [PATCH] Added a missing breadcrumb. --- app/Http/breadcrumbs.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/Http/breadcrumbs.php b/app/Http/breadcrumbs.php index d9f64ab902..aab4f281b1 100644 --- a/app/Http/breadcrumbs.php +++ b/app/Http/breadcrumbs.php @@ -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')); } );