/** * Temp method to get a JSO output of movies with any reviews */ public function listJSON() { return Movie::with('reviews')->get(); }
/** * Return a list of all of the movies. * * @return Response */ public function index() { return Movie::with('user')->get(); }