Completed
Push — dev5 ( d45a54...be76cd )
by Ron
09:51
created
app/Http/Controllers/FileLinks/FileLinksController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         //  Verify the user is logged in and has permissions for this page
30 30
         $this->middleware('auth');
31
-        $this->middleware(function ($request, $next) {
31
+        $this->middleware(function($request, $next) {
32 32
             $this->user = auth()->user();
33 33
             $this->authorize('hasAccess', 'use_file_links');
34 34
             return $next($request);
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     //  Landing page shows all links that the user owns
39 39
     public function index()
40 40
     {
41
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by User ID-' . Auth::user()->user_id);
41
+        Log::debug('Route '.Route::currentRouteName().' visited by User ID-'.Auth::user()->user_id);
42 42
         return view('links.index');
43 43
     }
44 44
 
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
         ]);
334 334
 
335 335
         Log::info('User ID '.Auth::user()->user_id.' disabled link ID - '.$id);
336
-        Log::debug('Route ' . Route::currentRouteName() . ' visited by User ID-' . Auth::user()->user_id);
336
+        Log::debug('Route '.Route::currentRouteName().' visited by User ID-'.Auth::user()->user_id);
337 337
         return response()->json(['success' => true]);
338 338
     }
339 339
 
Please login to merge, or discard this patch.
routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 /*
40 40
 *   File Link Routes
41 41
 */
42
-Route::prefix('links')->name('links.')->group(function () {
42
+Route::prefix('links')->name('links.')->group(function() {
43 43
     //  Resource controllers for base access
44 44
     Route::resource('data', 'FileLinks\FileLinksController');
45 45
     Route::get('new', 'FileLinks\FileLinksController@create')->name('new');
Please login to merge, or discard this patch.