Function action
Generate a URL to a controller action.
// Generate a URL to the "index" method of the "user" controller $url = action('user@index'); // Generate a URL to http://example.com/user/profile/taylor $url = action('user@profile', array('taylor'));
Located at laravel/helpers.php
string |
$action |
|
array |
$parameters = array() |
string
|