Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 374 Bytes
# frozen_string_literal: true
module Thredded
module UserPermissions
module Write
module All
extend ActiveSupport::Concern
# @return [ActiveRecord::Relation<Thredded::Messageboard>] messageboards that the user can post in
def thredded_can_write_messageboards
Thredded::Messageboard.all
end
end
end
end
end