Tweak for session changes.

This commit is contained in:
Taylor Otwell
2013-04-16 22:36:51 -05:00
parent 997f789c47
commit d9c559ba7f
2 changed files with 3 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ Route::filter('guest', function()
Route::filter('csrf', function()
{
if (Session::getToken() != Input::get('_token'))
if (Session::token() != Input::get('_token'))
{
throw new Illuminate\Session\TokenMismatchException;
}