From 8c9bd12003c2880018d3bde53314b3c7e1d6dfda Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 8 Oct 2011 21:48:10 -0500 Subject: [PATCH] fixed old uri ioc container reference. --- laravel/form.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/laravel/form.php b/laravel/form.php index 8509224a..67f1671c 100644 --- a/laravel/form.php +++ b/laravel/form.php @@ -80,9 +80,7 @@ class Form { */ 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)); } /**