We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac5e3e commit 934b974Copy full SHA for 934b974
helpers.md
@@ -1014,6 +1014,8 @@ The `action` function generates a URL for the given controller action. You do no
1014
1015
$url = action('HomeController@index');
1016
1017
+ $url = action([HomeController::class, 'index']);
1018
+
1019
If the method accepts route parameters, you may pass them as the second argument to the method:
1020
1021
$url = action('UserController@profile', ['id' => 1]);
0 commit comments