app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function create() {
        $cats = Cat::all();
        $reactions = Reaction::all();
        return view('pages.create', compact('cats', 'reactions'));
    }
public function create ( ) { $ cats = Cat :: all ( ) ; $ reactions = Reaction :: all ( ) ; return view ( 'pages.create' , compact ( 'cats' , 'reactions' ) ) ; }
Show the application dashboard.
Show the application dashboard .