Method: Thredded.messageboards_order

Defined in:
lib/thredded.rb

.messageboards_order:position, ...

How to calculate the position of messageboards in a list: :position set the position manually (new messageboards go to the bottom, by creation timestamp) :last_post_at_desc most recent post first :topics_count_desc most topics first

Returns:

  • (:position, :last_post_at_desc, :topics_count_desc)


121
122
123
# File 'lib/thredded.rb', line 121

def messageboards_order
  @messageboards_order
end