don't need to save invitation request

This commit is contained in:
joshua stein 2013-12-02 11:54:29 -06:00
parent 0aa330d106
commit c95f2bfd13

View file

@ -72,7 +72,7 @@ class InvitationsController < ApplicationController
return redirect_to "/invitations"
end
if ir.save
if ir
i = Invitation.new
i.user_id = @user.id
i.email = ir.email