|
|
@ -5,7 +5,7 @@ class MirrorRepository < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
scope :published_mirror, -> { where(status: 1) }
|
|
|
|
scope :published_mirror, -> { where(status: [0,1]) }
|
|
|
|
scope :published_main_mirror, -> { published_mirror.where(main_type: 1) }
|
|
|
|
scope :published_main_mirror, -> { published_mirror.where(main_type: 1) }
|
|
|
|
scope :published_small_mirror, -> { published_mirror.where(main_type: 0) }
|
|
|
|
scope :published_small_mirror, -> { published_mirror.where(main_type: 0) }
|
|
|
|
|
|
|
|
|
|
|
|