Module: Thredded::UserPermissions::Write::None

Extended by:
ActiveSupport::Concern
Included in:
NullUser
Defined in:
app/models/thredded/user_permissions/write/none.rb

Instance Method Summary collapse

Instance Method Details

#thredded_can_write_messageboardsActiveRecord::Relation<Thredded::Messageboard>

Returns messageboards that the user can post in.

Returns:



10
11
12
# File 'app/models/thredded/user_permissions/write/none.rb', line 10

def thredded_can_write_messageboards
  Thredded::Messageboard.none
end