@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | // Show the files attached to a link |
| 90 | 90 | public function show($id) |
| 91 | 91 | { |
| 92 | - Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name); |
|
| 92 | + Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name); |
|
| 93 | 93 | |
| 94 | 94 | $files = new FileLinkFilesCollection( |
| 95 | 95 | FileLinkFiles::where('link_id', $id) |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | // Delete a file attached to a link |
| 161 | 161 | public function destroy($id) |
| 162 | 162 | { |
| 163 | - Log::debug('Route ' . Route::currentRouteName() . ' visited by ' . Auth::user()->full_name); |
|
| 163 | + Log::debug('Route '.Route::currentRouteName().' visited by '.Auth::user()->full_name); |
|
| 164 | 164 | Log::debug('Submitted File ID to be deleted - '.$id); |
| 165 | 165 | |
| 166 | 166 | // Get the necessary file information and delete it from the database |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | // Show the link details for the user |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - Log::debug('Route ' . Route::currentRouteName() . ' visited by IP Address ' . \Request::ip()); |
|
| 32 | + Log::debug('Route '.Route::currentRouteName().' visited by IP Address '.\Request::ip()); |
|
| 33 | 33 | |
| 34 | 34 | $details = FileLinks::where('link_hash', $id)->first(); |
| 35 | 35 | |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | // Notify the owner of the link that files were uploaded |
| 147 | 147 | public function notify(Request $request, $id) |
| 148 | 148 | { |
| 149 | - Log::debug('Route ' . Route::currentRouteName() . ' visited by IP Address ' . \Request::ip() . '. Submitted Data - ', $request->toArray()); |
|
| 149 | + Log::debug('Route '.Route::currentRouteName().' visited by IP Address '.\Request::ip().'. Submitted Data - ', $request->toArray()); |
|
| 150 | 150 | |
| 151 | 151 | $request->validate([ |
| 152 | 152 | '_complete' => 'required', |