Commit bdbdd05b authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #155 from sparksp/develop/fix-uri

[develop] Fix URI class
parents d643ec97 02929f7f
...@@ -34,7 +34,7 @@ class Request { ...@@ -34,7 +34,7 @@ class Request {
*/ */
public static function uri() public static function uri()
{ {
return URI::get(); return URI::current();
} }
/** /**
......
...@@ -86,6 +86,7 @@ class URI { ...@@ -86,6 +86,7 @@ class URI {
{ {
return substr($uri, strlen($value)); return substr($uri, strlen($value));
} }
return $uri;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment