Sha256: 49896c0503e4a50377c4e091aab7987afb84af47f8c4b4c26fd8dafc2310dac3

Contents?: true

Size: 279 Bytes

Versions: 14

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

class Custom::ConfirmationsController < DeviseJwtAuth::ConfirmationsController
  def show
    super do |resource|
      @show_block_called = true unless resource.nil?
    end
  end

  def show_block_called?
    @show_block_called == true
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
devise_jwt_auth722-0.1.7 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth7-0.1.7 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.4.1 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.4.0 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.3.0 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.2.0 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.7 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.6 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.5 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.4 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.3 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.2 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.1 test/dummy/app/controllers/custom/confirmations_controller.rb
devise_jwt_auth-0.1.0 test/dummy/app/controllers/custom/confirmations_controller.rb