Skip to content

Commit

Permalink
Controller::referer should support array-based URL structure too
Browse files Browse the repository at this point in the history
  • Loading branch information
johanmeiring committed Jul 14, 2016
1 parent 33f702f commit d996c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Controller.php
Expand Up @@ -642,7 +642,7 @@ protected function _viewPath()
/**
* Returns the referring URL for this request.
*
* @param string|null $default Default URL to use if HTTP_REFERER cannot be read from headers
* @param string|array|null $default Default URL to use if HTTP_REFERER cannot be read from headers
* @param bool $local If true, restrict referring URLs to local server
* @return string Referring URL
*/
Expand Down

0 comments on commit d996c09

Please sign in to comment.