Skip to content

Commit

Permalink
Merge pull request #59 from NeptuneDesign/patch-3
Browse files Browse the repository at this point in the history
Fix array_get() is delete on Laravel 6
  • Loading branch information
garygreen authored Sep 5, 2019
2 parents 48ea54a + 4995e3d commit 9be1d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/routes.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<tr>
<td>
@foreach (array_diff($route->methods(), config('pretty-routes.hide_methods')) as $method)
<span class="tag tag-{{ array_get($methodColours, $method) }}">{{ $method }}</span>
<span class="tag tag-{{ $methodColours[$method] }}">{{ $method }}</span>
@endforeach
</td>
<td class="domain{{ strlen($route->domain()) == 0 ? ' domain-empty' : '' }}">{{ $route->domain() }}</td>
Expand Down

0 comments on commit 9be1d14

Please sign in to comment.