<commit_before>class Account::GroupsController < ApplicationController

  #檢查是否登入
  before_action :authenticate_user!

  def index
    @groups = current_user.participated_groups
  end
  
end<commit_msg>修改 group 根據文章數量排序.<commit_after>class Account::GroupsController < ApplicationController

  #檢查是否登入
  before_action :authenticate_user!

  def index
    @groups = current_user.participated_groups.order("posts_count DESC")
  end
  
end
{'fraction_non_alphanumeric': 0.06896551724137931, 'fraction_numerical': 0.0, 'mean_word_length': 5.411764705882353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2484006', 'n_tokens_mistral': 155, 'n_tokens_neox': 154, 'n_words': 26}