class Devise::ConfirmationsController
def create
def create self.resource = resource_class.send_confirmation_instructions(params[resource_name]) if successfully_sent?(resource) respond_with({}, :location => after_resending_confirmation_instructions_path_for(resource_name)) else respond_with_navigational(resource){ render_with_scope :new } end end