From 62227ec27db86efce40682a0eefbce8c8bc03725 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 25 Aug 2017 05:48:32 -0700 Subject: [PATCH] Link to location in user view --- resources/views/users/view.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 0891ecfe02..f5a1fc7dd5 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -182,7 +182,9 @@ @if ($user->userloc) {{ trans('admin/users/table.location') }} - {{ $user->userloc->name }} + {{ link_to_route('locations.show', $user->userloc->name, [$user->userloc->id]) }} + + @endif @if ($user->created_at)