Sha256: 6595be7c3a5bcc29cd89478cef50761244138f32af6b83086dddef18fed98bd1
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
module DeviseInvitable::Controllers::Helpers extend ActiveSupport::Concern included do hide_action :after_invite_path_for, :after_accept_path_for end def after_invite_path_for(resource) after_sign_in_path_for(resource) end def after_accept_path_for(resource) after_sign_in_path_for(resource) end protected def authenticate_inviter! send(:"authenticate_#{resource_name}!", :force => true) end end
Version data entries
5 entries across 5 versions & 1 rubygems