<commit_before>class IslayShop::Admin::SkusController < IslayShop::Admin::ApplicationController
  helper IslayShop::Admin::CatalogueHelper
  resourceful :sku, :parent => :product
  header 'Shop'
  nav 'islay_shop/admin/shop/nav'

  private

  def dependencies
    @assets = Asset.order('name')
    if integrate_blog?
      @blog_entries = BlogEntry.order('published DESC')
    end
  end

  def redirect_for(record)
    path(@product)
  end

  def destroy_redirect_for(record)
    path(@product)
  end
end<commit_msg>Correct ordering of blog posts for skus<commit_after>class IslayShop::Admin::SkusController < IslayShop::Admin::ApplicationController
  helper IslayShop::Admin::CatalogueHelper
  resourceful :sku, :parent => :product
  header 'Shop'
  nav 'islay_shop/admin/shop/nav'

  private

  def dependencies
    @assets = Asset.order('name')
    if integrate_blog?
      @blog_entries = BlogEntry.order('published_at DESC')
    end
  end

  def redirect_for(record)
    path(@product)
  end

  def destroy_redirect_for(record)
    path(@product)
  end
end
{'fraction_non_alphanumeric': 0.10179076343072573, 'fraction_numerical': 0.0, 'mean_word_length': 4.446153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4621245', 'n_tokens_mistral': 341, 'n_tokens_neox': 329, 'n_words': 73}