app/controllers/nyauth/confirmation_requests_controller.rb in nyauth-0.2.6 vs app/controllers/nyauth/confirmation_requests_controller.rb in nyauth-0.2.7

- old
+ new

@@ -1,9 +1,10 @@ module Nyauth class ConfirmationRequestsController < ApplicationController include Nyauth::ApplicationConcern include Nyauth::ClientConcern allow_everyone + self.responder = Nyauth::AppResponder respond_to :html, :json before_action :set_client, only: [:create] after_action :send_mail, only: [:create], if: -> { @client.confirmation_key.present? } def new