Sha256: dcab46d66776b50442980dbfe3016eb2fed337abdf5a532e103687b4e40d40fd

Contents?: true

Size: 320 Bytes

Versions: 14

Compression:

Stored size: 320 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_admin.user_path(@user)
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
push_type_auth-0.12.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.12.0 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.12.0.beta.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.11.2 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.11.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.11.0.beta.2 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.11.0.beta.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.4 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.3 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.2 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.1 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.0 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.0.beta.5 app/controllers/concerns/push_type/invitation_methods.rb
push_type_auth-0.10.0.beta.3 app/controllers/concerns/push_type/invitation_methods.rb