Beispiel #1
0
 /**
  * Treat this method as a controller action.
  * Return view() or other content to display.
  */
 public function run()
 {
     //
     return view("widgets.docket_index", ['dockets' => \App\Docket::all()]);
 }
 public function showDockets()
 {
     $dockets = Docket::all();
     $vars = ["dockets" => $dockets];
     return view('backend.page.docket-list')->with($vars);
 }