public function otherPreview(User $user, Article $article) { $attachments = $article->files; $article->visit(); return view('home.articlesPreview', compact('article', 'attachments', 'user'))->with(['title' => $article->title]); }