use to_adapter in registrations controller