1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?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::make(View::make('error/500'), 500) : null;
- },
- );
|