Ft generate flyer

@pet.update(pet_params) ? redirect_to @pet : render 'edit'