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 104344c commit b54ea44Copy full SHA for b54ea44
1 file changed
app/routes.php
@@ -14,4 +14,26 @@
14
Route::get('/', function()
15
{
16
return View::make('hello');
17
+});
18
+
19
+/*
20
+|--------------------------------------------------------------------------
21
+| Application & Route Filters
22
23
+|
24
+| Below you will find the "before" and "after" events for the application
25
+| which may be used to do any work before or after a request into your
26
+| application. Here you may also register your custom route filters.
27
28
+*/
29
30
+App::before(function($request)
31
+{
32
+ // Fired before all requests to the application...
33
34
35
36
+App::after(function($request, $response)
37
38
+ // Fired after all requests to the application...
39
});
0 commit comments