added section class. refactored session for ioc usage. improved controller. added yielding and sections to blade. general blade improvements.
This commit is contained in:
@@ -144,7 +144,9 @@ class Form {
|
||||
*/
|
||||
public static function token()
|
||||
{
|
||||
return static::input('hidden', 'csrf_token', Session::token());
|
||||
$token = IoC::container()->core('session')->token();
|
||||
|
||||
return static::input('hidden', 'csrf_token', $token);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user