Module: PushType::InvitationMethods

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/push_type/invitation_methods.rb

Instance Method Summary collapse

Instance Method Details

#inviteObject



5
6
7
8
9
10
# File 'app/controllers/concerns/push_type/invitation_methods.rb', line 5

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