12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- return array(
-
- 'before' => function()
- {
-
- },
- 'after' => function($response)
- {
-
- },
- 'auth' => function()
- {
- return ( ! Auth::check()) ? Redirect::to_login() : null;
- },
- 'csrf' => function()
- {
- return (Input::get('csrf_token') !== Form::raw_token()) ? Response::error('500') : null;
- },
- );
|