|
@@ -5,10 +5,10 @@ |
|
|
block discarded – undo |
|
5
|
5
|
|
|
6
|
6
|
$router->group( |
|
7
|
7
|
['namespace' => 'FondBot\Controllers', 'prefix' => 'fondbot'], |
|
8
|
|
- function () use (&$router) { |
|
|
8
|
+ function() use (&$router) { |
|
9
|
9
|
$router->get('/', 'IndexController@show'); |
|
10
|
10
|
|
|
11
|
|
- collect(['GET', 'POST', 'PATCH', 'DELETE'])->each(function (string $method) use (&$router) { |
|
|
11
|
+ collect(['GET', 'POST', 'PATCH', 'DELETE'])->each(function(string $method) use (&$router) { |
|
12
|
12
|
$router->$method('/{channel}', 'ChannelController@webhook'); |
|
13
|
13
|
}); |
|
14
|
14
|
}); |
Please login to merge, or discard this patch.