app/controllers/nyauth/confirmation_requests_controller.rb in nyauth-0.0.1 vs app/controllers/nyauth/confirmation_requests_controller.rb in nyauth-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
module Nyauth
- class ConfirmationRequestsController < ApplicationController
+ class ConfirmationRequestsController < Nyauth::BaseController
allow_everyone
respond_to :html, :json
before_action :set_user, only: [:create]
after_action :send_mail, only: [:create], if: -> { @user.confirmation_key.present? }