pushtype/push_type

View on GitHub
auth/app/controllers/concerns/push_type/invitation_methods.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PushType
  module InvitationMethods
    extend ActiveSupport::Concern

    def invite
      load_user
      @user.resend_confirmation_instructions
      flash[:notice] = 'Sign up instructions have been resent to the user.'
      redirect_back fallback_location: push_type_admin.user_path(@user)
    end

  end
end