Skip to content

Commit

Permalink
Update ErrorPageViewModel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Aug 31, 2019
1 parent 4e57ac2 commit f963956
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ErrorPage/ErrorPageViewModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ public function solutions(): array

protected function shareEndpoint()
{
// In L5.5 and 5.6 `action` doesn't accept callable syntax, so we crash.
// Swap back to the uglier syntax until 5.5 & 5.6 support is removed.
// The same change is not needed for telescope action call above as telescope
// min version is 5.7, so it's not an issue there.
// use string notation as L5.5 and L5.6 don't support array notation yet
return action('\Facade\Ignition\Http\Controllers\ShareReportController');
}

Expand Down

0 comments on commit f963956

Please sign in to comment.