Module: Thredded::UserPermissions::Read::All

Extended by:
ActiveSupport::Concern
Included in:
NullUser, Thredded::UserExtender
Defined in:
app/models/thredded/user_permissions/read/all.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#thredded_can_read_messageboardsActiveRecord::Relation<Thredded::Messageboard>

Returns messageboards that the user can read.

Returns:



11
12
13
# File 'app/models/thredded/user_permissions/read/all.rb', line 11

def thredded_can_read_messageboards
  Thredded::Messageboard.all
end