Use strong_params in api/entries_controller.