refactoring.

This commit is contained in:
Taylor Otwell
2011-09-28 21:59:54 -05:00
parent 3dbc60aee3
commit 5cc7c3a6bd
5 changed files with 17 additions and 17 deletions

View File

@@ -80,7 +80,7 @@ class Form {
*/
protected static function action($action, $https)
{
$uri = IoC::container()->resolve('laravel.uri')->get();
$uri = IoC::container()->core('uri')->get();
return HTML::entities(URL::to(((is_null($action)) ? $uri : $action), $https));
}
@@ -159,7 +159,7 @@ class Form {
throw new \Exception("A session driver must be specified before using CSRF tokens.");
}
return IoC::container()->resolve('laravel.session')->get('csrf_token');
return IoC::container()->core('session')->get('csrf_token');
}
/**