forked from jasder/forgeplus
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
|