Skip to content

Commit 6f6c600

Browse files
authored
Merge pull request #152 from effeks/fix_request_is_bug
Fix bug where Request::is() is not a static method
2 parents 5ccddeb + 96abcb0 commit 6f6c600

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/resources/views/logger/partials/activity-table.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$hoverable = false;
1010
}
1111
12-
if (\Illuminate\Http\Request::is('activity/cleared')) {
12+
if (request()->is('activity/cleared')) {
1313
$prependUrl = '/activity/cleared/log/';
1414
}
1515
@@ -55,7 +55,7 @@
5555
<i class="fa fa-laptop fa-fw" aria-hidden="true"></i>
5656
{!! trans('LaravelLogger::laravel-logger.dashboard.labels.agent') !!}
5757
</th>
58-
@if(\Illuminate\Http\Request::is('activity/cleared'))
58+
@if(request()->is('activity/cleared'))
5959
<th>
6060
<i class="fa fa-trash-o fa-fw" aria-hidden="true"></i>
6161
{!! trans('LaravelLogger::laravel-logger.dashboard.labels.deleteDate') !!}
@@ -242,7 +242,7 @@
242242
</small>
243243
</sup>
244244
</td>
245-
@if(\Illuminate\Http\Request::is('activity/cleared'))
245+
@if(request()->is('activity/cleared'))
246246
<td>
247247
{{ $activity->deleted_at }}
248248
</td>

0 commit comments

Comments
 (0)