added support for named views.

This commit is contained in:
Taylor Otwell
2011-07-21 23:30:52 -05:00
parent 198e95910d
commit c1ca97d9fb
3 changed files with 59 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ class Redirect {
* @param string $method
* @param int $status
* @param bool $https
* @return Response
* @return Redirect
*/
public static function to($url, $method = 'location', $status = 302, $https = false)
{