Sha256: e7f6b527a51a9d83a0c2b33bd99cd2b9f358e5eb936a298c5976481a838a0461

Contents?: true

Size: 314 Bytes

Versions: 8

Compression:

Stored size: 314 Bytes

Contents

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.user_path(@user)
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
push_type_auth-0.9.5 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.3 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.2 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.0 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.0.beta.4 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.0.beta.3 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.9.0.beta.2 app/controllers/concerns/push_type/invitation_methods.rb