public function run() { $posts_model = new Posts(); $most = $posts_model->most_view(); //dd($most); return view("widgets.most_view", ['most_view_posts' => $most]); }