Class: InvitationCodesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/invitation_codes_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject


8
9
10
11
# File 'app/controllers/invitation_codes_controller.rb', line 8

def show 
  sign_out(current_user) if user_signed_in?
  redirect_to new_user_registration_path(:invite => {:token => params[:id]})
end