refactoring the session class.

This commit is contained in:
Taylor Otwell
2011-11-01 23:11:08 -05:00
parent 2e1fed294f
commit 6048d20921
12 changed files with 317 additions and 87 deletions

View File

@@ -61,7 +61,7 @@ class Redirect extends Response {
throw new \Exception('A session driver must be set before setting flash data.');
}
IoC::container()->core('session')->flash($key, $value);
Session::flash($key, $value);
return $this;
}