public function getAll() { // get all missions in the future where a launch is exact $missions = Mission::whereUpcoming()->whereNotNull('launch_exact')->with('launchSite')->get(); return $this->returnCalendarOrRedirect($missions, 'spacexstats'); }
public function getAll() { // get all missions in the future where a launch is exact $missions = Mission::whereUpcoming()->whereNotNull('launch_exact')->with('launchSite')->get(); return $this->returnCalendarOrRedirect($missions, 'spacexstats'); }