diff --git a/resources/views/system/addedit.blade.php b/resources/views/system/addedit.blade.php index c374835..2cade9f 100644 --- a/resources/views/system/addedit.blade.php +++ b/resources/views/system/addedit.blade.php @@ -241,7 +241,9 @@
No session details exist
@endif - @include('system.widget.form-session') + @can('update_nn',$o) + @include('system.widget.form-session') + @endcan diff --git a/resources/views/system/widget/echoarea.blade.php b/resources/views/system/widget/echoarea.blade.php index 88188ec..264ba28 100644 --- a/resources/views/system/widget/echoarea.blade.php +++ b/resources/views/system/widget/echoarea.blade.php @@ -36,7 +36,7 @@ @endif - @can('update',$o) + @can('update_nn',$o)