fixed old uri ioc container reference.

This commit is contained in:
Taylor Otwell 2011-10-08 21:48:10 -05:00
parent 45933cd038
commit 8c9bd12003
1 changed files with 1 additions and 3 deletions

View File

@ -80,9 +80,7 @@ protected static function method($method)
*/
protected static function action($action, $https)
{
$uri = IoC::container()->core('uri')->get();
return HTML::entities(URL::to(((is_null($action)) ? $uri : $action), $https));
return HTML::entities(URL::to(((is_null($action)) ? URI::get() : $action), $https));
}
/**