reverting di refactoring.

This commit is contained in:
Taylor Otwell
2011-10-29 22:31:50 -05:00
parent f5680e4537
commit ef9e4dfd61
12 changed files with 101 additions and 181 deletions

View File

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