1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- return array(
-
- 'before' => function()
- {
-
- },
- 'after' => function($response)
- {
- Input::flash();
- },
- 'auth' => function()
- {
- if (Auth::guest()) return Redirect::to_login();
- },
- 'csrf' => function()
- {
- if (Request::forged()) return Response::error('500');
- },
- );
|