-
app/Helpers/Helpers.php
Open in GitHub// if (! function_exists('href_profile')) { function href_profile($user) { $appurl = appurl(); return sprintf('%s/users/%s', $appurl, $user->username); } } //
-
app/Http/Controllers/CommentController.php
Open in GitHubuse App\Models\Collection; class CommentController extends Controller { // public function collection(Request $request, $id) { $collection = Collection::findOrFail($id); $user = \auth()->user(); // $profileUrl = \href_profile($user); // } // }