Skip to content

Commit

Permalink
->uri() call in place of route() helper
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Dec 19, 2018
1 parent 1fc5f72 commit 8f35c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/public/_list-item.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<li class="objects-item">
<a class="objects-item-link" href="{{ route($lang.'::object', $object->slug) }}" title="{{ $object->title }}">
<a class="objects-item-link" href="{{ $object->uri() }}" title="{{ $object->title }}">
<span class="objects-item-title">{!! $object->title !!}</span>
<span class="objects-item-image">{!! $object->present()->thumb(null, 200) !!}</span>
</a>
Expand Down

0 comments on commit 8f35c7f

Please sign in to comment.