removed api to revert back to rails views