@foreach ($departments as $department)
{{ $department->name }}
@endforeach @if(Auth::user() != null)
Додај смер
@endif