<commit_before>- title @post_category.name
- add_link hush_cms_posts_url(:category => @post_category.slug)
- add_link hush_cms_formatted_posts_url(:category => @post_category.slug, :format => :rss), :feed if @post_category.has_feed?

- content_for :sidebar do
  = link_to 'Edit Category', edit_hush_cms_admin_post_category_path(@post_category), :id => 'sidebar-edit-post-category'
  = link_to 'Delete Category', hush_cms_admin_post_category_path(@post_category), :method => :delete, :confirm => 'Are you sure?', :id => 'sidebar-delete-post-category'
  = link_to 'New Post', new_hush_cms_admin_post_category_post_path(@post_category), :id => 'sidebar-new-post'
  = render :partial => 'posts', :object => @posts

#breadcrumbs
  = link_to('All Categories', hush_cms_admin_post_categories_path)
  &raquo;<commit_msg>Updated post category index page to final routes without extra params (if they are not required by the route)<commit_after>- title @post_category.name
- add_link hush_cms_posts_url(:category => named_route_uses_key?('hush_cms_post', :category) ? @post_category.slug : nil)
- add_link hush_cms_formatted_posts_url(:category => named_route_uses_key?('hush_cms_post', :category) ? @post_category.slug : nil, :format => :rss), :feed if @post_category.has_feed?

- content_for :sidebar do
  = link_to 'Edit Category', edit_hush_cms_admin_post_category_path(@post_category), :id => 'sidebar-edit-post-category'
  = link_to 'Delete Category', hush_cms_admin_post_category_path(@post_category), :method => :delete, :confirm => 'Are you sure?', :id => 'sidebar-delete-post-category'
  = link_to 'New Post', new_hush_cms_admin_post_category_post_path(@post_category), :id => 'sidebar-new-post'
  = render :partial => 'posts', :object => @posts

#breadcrumbs
  = link_to('All Categories', hush_cms_admin_post_categories_path)
  &raquo;
{'fraction_non_alphanumeric': 0.13398692810457516, 'fraction_numerical': 0.0, 'mean_word_length': 7.164444444444444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '5555155', 'n_tokens_mistral': 639, 'n_tokens_neox': 624, 'n_words': 125}