From 3d8a9aa34c3efa4070d2e63ed506e4a251119a7e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 29 Nov 2016 19:50:34 +0200 Subject: [PATCH] Merge fix for non-admin navigation --- resources/views/header.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 9fbaca07d6..9a8f2f6876 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -506,7 +506,9 @@ 'settings', //'self-update' ] as $option) - @if (in_array($option, ['dashboard', 'settings']) || Auth::user()->can('view', substr($option, 0, -1))) + @if (in_array($option, ['dashboard', 'settings']) + || Auth::user()->can('view', substr($option, 0, -1)) + || Auth::user()->can('create', substr($option, 0, -1)))
  • @if ($option == 'settings')