/** * Treat this method as a controller action. * Return view() or other content to display. */ public function run(Post $post) { $posts = $post->get()->all(); return view("widgets.recent_news", compact('posts')); }