Commit 8c9bd120 authored by Taylor Otwell's avatar Taylor Otwell

fixed old uri ioc container reference.

parent 45933cd0
......@@ -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));
}
/**
......
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