- cache [game, current_category] do
  - category = game.categories.first
  ul#popular-categories.nav.nav-tabs role='tablist'
    - (game.popular_categories | [current_category]).each do |category|
      li class="#{category == current_category ? 'active' : ''}"
        - if link_type == :sum_of_best
          = link_to category, game_category_sum_of_bests_path(game, category)
        - else
          = link_to category, game_category_path(game, category)
    - if (game.unpopular_categories - [current_category]).present?
      li = link_to 'more »', '#', id: 'show-unpopular-categories'
  ul#unpopular-categories.nav.nav-tabs role='tablist'
    - (game.unpopular_categories - [current_category]).each do |category|
      li class="#{category == current_category ? 'active' : ''}"
        = link_to category, game_category_sum_of_bests_path(game, category), class: 'unpopular-category'

- cache [game, current_category, link_type] do
  - category = game.categories.first
  ul#popular-categories.nav.nav-tabs role='tablist'
    - (game.popular_categories | [current_category]).each do |category|
      li class="#{category == current_category ? 'active' : ''}"
        - if link_type == :sum_of_best
          = link_to category, game_category_sum_of_bests_path(game, category)
        - else
          = link_to category, game_category_path(game, category)
    - if (game.unpopular_categories - [current_category]).present?
      li = link_to 'more »', '#', id: 'show-unpopular-categories'
  ul#unpopular-categories.nav.nav-tabs role='tablist'
    - (game.unpopular_categories - [current_category]).each do |category|
      li class="#{category == current_category ? 'active' : ''}"
        = link_to category, game_category_sum_of_bests_path(game, category), class: 'unpopular-category'

Fix a category tab caching issue
Fix a category tab caching issue

glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io