otwcode/otwarchive — pull request #761 by scottsds (2012-07-21 21:16:42+00:00)
Title: Issue 3034: Invitations link for non-existing user causes error 500

Resolves issue: http://code.google.com/p/otwarchive/issues/detail?id=3034

Changed invitations controller to check to make sure that the user_id was a real user. If not, it redirects to the log in page (if the current_user is not logged in).

If the current_user is already logged in, it was already redirecting them to their user dashboard (no rails error was showing).