mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
11 lines
158 B
Ruby
11 lines
158 B
Ruby
module Lockable
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
end
|
|
|
|
def locked?(is_member)
|
|
is_member == true ? false : !publiced?
|
|
end
|
|
end
|