mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
8 lines
132 B
Ruby
8 lines
132 B
Ruby
module Publicable
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
scope :visible, -> { where(is_public: true) }
|
|
end
|
|
end
|