diff --git a/src/helpers.php b/src/helpers.php index 684102d..14f0361 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -8,12 +8,13 @@ if (! function_exists('link_to')) { * @param string $title * @param array $attributes * @param bool $secure + * @param bool $escape * * @return string */ - function link_to($url, $title = null, $attributes = [], $secure = null) + function link_to($url, $title = null, $attributes = [], $secure = null, $escape = true) { - return app('html')->link($url, $title, $attributes, $secure); + return app('html')->link($url, $title, $attributes, $secure, $escape); } }