Sha256: 2ad85eb8565f17bbafeaad54f1db37cf83d525df042318b56fa85ff5b74626b6
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
module DeviseInvitable::Controllers::Helpers extend ActiveSupport::Concern included do end def after_invite_path_for(inviter, invitee = nil) signed_in_root_path(inviter) end def after_accept_path_for(resource) signed_in_root_path(resource) end protected def authenticate_inviter! send(:"authenticate_#{resource_name}!", force: true) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_invitable-2.0.0 | lib/devise_invitable/controllers/helpers.rb |