Module: DeviseInvitable::Controllers::Helpers

Extended by:
ActiveSupport::Concern
Defined in:
lib/devise_invitable/controllers/helpers.rb

Instance Method Summary collapse

Instance Method Details

#after_accept_path_for(resource) ⇒ Object



11
12
13
# File 'lib/devise_invitable/controllers/helpers.rb', line 11

def after_accept_path_for(resource)
  signed_in_root_path(resource)
end

#after_invite_path_for(inviter, invitee = nil) ⇒ Object



7
8
9
# File 'lib/devise_invitable/controllers/helpers.rb', line 7

def after_invite_path_for(inviter, invitee = nil)
  signed_in_root_path(inviter)
end

#invalid_token_path_for(resource_name) ⇒ Object



15
16
17
# File 'lib/devise_invitable/controllers/helpers.rb', line 15

def invalid_token_path_for(resource_name)
  after_sign_out_path_for(resource_name)
end