fix horribly broken invite code, could lead to inviting the wrong person to a conversation

This commit is contained in:
Sam
2013-06-19 10:31:19 +10:00
parent 66c18a0bec
commit 799b402778
7 changed files with 52 additions and 26 deletions

View File

@ -2,6 +2,9 @@ require 'cache'
module Discourse
# Expected less matches than what we got in a find
class TooManyMatches < Exception; end
# When they try to do something they should be logged in for
class NotLoggedIn < Exception; end