Completed
Push — master ( 055c12...11e78a )
by Marcel
02:47
created
src/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-Route::group(['middleware' => ['web', 'auth']], function ($router) {
3
+Route::group(['middleware' => ['web', 'auth']], function($router) {
4 4
     $router->get('/settings/api/webhooks', 'Mpociot\CaptainHook\Http\WebhookController@all');
5 5
     $router->post('/settings/api/webhook', 'Mpociot\CaptainHook\Http\WebhookController@store');
6 6
     $router->put('/settings/api/webhook/{webhook_id}', 'Mpociot\CaptainHook\Http\WebhookController@update');
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 });
11 11
 
12 12
 if (config('captain_hook.uses_api', false)) {
13
-    Route::group(['middleware' => 'auth:api', 'prefix' => 'api'], function ($router) {
13
+    Route::group(['middleware' => 'auth:api', 'prefix' => 'api'], function($router) {
14 14
         $router->get('webhooks', 'Mpociot\CaptainHook\Http\WebhookController@all');
15 15
         $router->post('webhook', 'Mpociot\CaptainHook\Http\WebhookController@store');
16 16
         $router->put('webhook/{webhook_id}', 'Mpociot\CaptainHook\Http\WebhookController@update');
Please login to merge, or discard this patch.