We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cde09f commit 32b5964Copy full SHA for 32b5964
1 file changed
app/routes.php
@@ -15,26 +15,4 @@
15
$app->get('/', function() use ($app)
16
{
17
return 'Hello World!';
18
-});
19
-
20
-/*
21
-|--------------------------------------------------------------------------
22
-| Application Events
23
24
-|
25
-| These events run before and after requests to your application and
26
-| are very useful for pre and post processing. By default they're
27
-| responsible for starting and finishing the session handling.
28
29
-*/
30
31
-$app->before(function($request) use ($app)
32
-{
33
- $app['session']->start($request);
34
35
36
37
-$app->after(function($request, $response) use ($app)
38
39
- $app['session']->finish($response, $app['cookie']);
40
});
0 commit comments