class Custom::ConfirmationsController < DeviseTokenAuth::ConfirmationsController def show super do |resource| @show_block_called = true end end def show_block_called? @show_block_called == true end end