mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
✂️ scoped for Rails 4 compat
This commit is contained in:
parent
14328a24ef
commit
3c80ee0b8a
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Invite < ActiveRecord::Base
|
|||
filter: "%#{email_or_username.downcase}%"
|
||||
)
|
||||
else
|
||||
scoped
|
||||
rails4? ? all : scoped
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue