Exemple #1
0
 public function index(Blog $blog)
 {
     $this->data['records'] = $blog->getActiveRecords();
     return view('blog.index', $this->data);
 }