Filters in Laravel 4
I'm trying to use a pattern based filter in my routes file.
I want to stop anything without crsf and only allow ajax calls.
So far I have:
Route::when('/gateway/*', 'crsf');
I'm not sure where im going wrong and how i could add in the ajax
verification.
No comments:
Post a Comment