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 88542fd commit d62da24
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="events-item" itemscope itemtype="http://schema.org/Event">
<a class="events-item-link" href="{{ route($lang.'::event', $event->slug) }}" itemprop="url">
<a class="events-item-link" href="{{ $event->uri() }}" itemprop="url">
<meta itemprop="startDate" content="{{ $event->start_date->toIso8601String() }}">
<meta itemprop="endDate" content="{{ $event->end_date->toIso8601String() }}">
<meta itemprop="image" content="{{ $event->present()->thumbUrl() }}">
Expand Down

0 comments on commit d62da24

Please sign in to comment.