We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e37ef commit fa2d7f5Copy full SHA for fa2d7f5
resources/views/urls/index.blade.php
@@ -19,13 +19,15 @@
19
<th>Url</th>
20
<th>Short Url</th>
21
<th>Counter</th>
22
+ <th>User</th>
23
<th></th>
24
</tr>
25
@foreach ($urls as $url)
26
<tr>
27
<td>{{ $url->url }}</td>
28
<td><a href="{{ route('shorturl.redirect', $url->code) }}">{{ $url->code }}</a></td>
29
<td>{{ $url->counter }}</td>
30
+ <td>{{ optional($url->user)->name }}</td>
31
<td>
32
<button class="btn btn-sm btn-success" data-clipboard-text="{{ route('shorturl.redirect', $url->code) }}">Copy</button>
33
<a class="btn btn-sm btn-primary" href="{{ route('shorturl.url.edit', $url->id) }}" role="button">Edit</a>
0 commit comments