use the invitation's e-mail address as the default for the new user

This commit is contained in:
joshua stein 2012-09-03 11:44:29 -05:00
parent 9f0747a46b
commit 49feb9ba43
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class SignupController < ApplicationController
end
@new_user = User.new
@new_user.email = @invitation.email
render :action => "invited"
end