public function application() { $state = \App\Location::distinct()->select('full_state', 'full_state')->get(); $states = array_unique($state->lists('full_state', 'full_state')); return view('application', compact('states')); }
public function application() { $state = \App\Location::distinct()->select('full_state', 'full_state')->get(); $states = array_unique($state->lists('full_state', 'full_state')); return view('application', compact('states')); }