public function profile($slug) { $authors = Authors::findBySlug($slug); return view('authors.profile', compact('authors')); }