diff options
Diffstat (limited to 'app/models/concerns/shared_scopes.rb')
-rw-r--r-- | app/models/concerns/shared_scopes.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/concerns/shared_scopes.rb b/app/models/concerns/shared_scopes.rb deleted file mode 100644 index f576d2c0821..00000000000 --- a/app/models/concerns/shared_scopes.rb +++ /dev/null @@ -1,8 +0,0 @@ -module SharedScopes - extend ActiveSupport::Concern - - included do - scope :public_only, -> { where(visibility_level: Group::PUBLIC) } - scope :public_and_internal_only, -> { where(visibility_level: [Group::PUBLIC, Group::INTERNAL] ) } - end -end |