Skip to content

Commit

Permalink
Fix form route binding exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Feb 11, 2020
1 parent df42bbd commit 5b87266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ protected function bindForms()
Route::bind('form', function ($handle) {
throw_unless(
$form = Form::find($handle),
new NotFoundHttpException("Form [$form] not found.")
new NotFoundHttpException("Form [$handle] not found.")
);

return $form;
Expand Down

0 comments on commit 5b87266

Please sign in to comment.