From aa5fe52e8943e4c7410703c9e04d2886d5c0c70a Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 24 Jun 2024 14:01:56 +0100 Subject: [PATCH] Added gate in blade Signed-off-by: snipe --- resources/views/layouts/default.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index db9ad35e8..9d3e8aef9 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -353,12 +353,15 @@ dir="{{ in_array(app()->getLocale(),['ar-SA','fa-IR', 'he-IL']) ? 'rtl' : 'ltr' + @can('self.profile')
  • {{ trans('general.editprofile') }}
  • + @endcan +