Module: Thredded::UserPermissions::Write::All

Extended by:
ActiveSupport::Concern
Included in:
Thredded::UserExtender
Defined in:
app/models/thredded/user_permissions/write/all.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/all.rb', line 10

def thredded_can_write_messageboards
  Thredded::Messageboard.all
end