✂️ scoped for Rails 4 compat

This commit is contained in:
Godfrey Chan 2013-12-12 00:37:04 -08:00
parent 14328a24ef
commit 3c80ee0b8a

View File

@ -89,7 +89,7 @@ class Invite < ActiveRecord::Base
filter: "%#{email_or_username.downcase}%"
)
else
scoped
rails4? ? all : scoped
end
end
end