/** * Show a page to create a new image * @return \Response */ public function getCreate() { // get list of countries $countryModel = new \App\Country(); $countries_for_dropdown = $countryModel->getCountriesForDropdown(); // get list of tags $tagModel = new \App\Tag(); $tags_for_dropdown = $tagModel->getTagsForDropdown(); return view('images.create')->with('countries_for_dropdown', $countries_for_dropdown)->with('tags_for_dropdown', $tags_for_dropdown); }