I also don’t think you’re showing us theactualcode, because Laravel will tack any additional parameters onto the URL as query string parameters that don’t map to a route parameter. I don’t really know what you’re expecting by passing$successas the second parameter. I also don’t se...
/** * Adds cache bust query string to given URL if no query is present * * @param string $url * @return string the URL with cache bust paramter */ protected function addCacheBustQuery($url) { if (strpos($url, '?') === false) { $file = str_replace('@web', '@webroot', $u...