class Devise::UnlocksController

def create

POST /resource/unlock
def create
  self.resource = resource_class.send_unlock_instructions(resource_params)
  yield resource if block_given?
  if successfully_sent?(resource)
    respond_with({}, location: after_sending_unlock_instructions_path_for(resource))
  else
    respond_with(resource)
  end
end