Skip to content

Commit

Permalink
missing var in template
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed May 17, 2019
1 parent 52aab09 commit 49ae4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/public/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
<p class="event-summary">{!! nl2br($model->summary) !!}</p>
@if ($model->url !== null)
<div class="event-url"><a href="{{ $event->url }}" target="_blank" rel="noopener noreferrer">{{ parse_url($event->url, PHP_URL_HOST) }}</a></div>
<div class="event-url"><a href="{{ $model->url }}" target="_blank" rel="noopener noreferrer">{{ parse_url($model->url, PHP_URL_HOST) }}</a></div>
@endif
<a class="btn btn-light btn-xs" href="{{ route($lang.'::event-ics', $model->slug) }}">
<span class="fa fa-calendar"></span> @lang('db.Add to calendar')
Expand Down

0 comments on commit 49ae4a3

Please sign in to comment.