<commit_before>module Admin::UrlHelper
  def admin_user_organisation_header_link
    if user_signed_in? && organisation = current_user.organisation
      admin_header_link 'Manage corporate information', admin_organisation_path(organisation), nil, class: 'user-org'
    end
  end

  def admin_topics_header_link
    admin_header_link "Topics", admin_topics_path
  end

  def admin_featured_header_link
    if user_signed_in? && organisation = current_user.organisation
      admin_header_link "Feature documents", features_admin_organisation_path(organisation, locale: nil)
    end
  end

  def admin_topical_events_header_link
    admin_header_link "Topical events", admin_topical_events_path
  end

  def admin_organisations_header_link
    admin_header_link "Departments & agencies", admin_organisations_path
  end<commit_msg>Correct admin menu linking for corporate info<commit_after>module Admin::UrlHelper
  def admin_user_organisation_header_link
    if user_signed_in? && organisation = current_user.organisation
      admin_header_link 'Manage corporate information', admin_organisation_corporate_information_pages_path(organisation), nil, class: 'user-org'
    end
  end

  def admin_topics_header_link
    admin_header_link "Topics", admin_topics_path
  end

  def admin_featured_header_link
    if user_signed_in? && organisation = current_user.organisation
      admin_header_link "Feature documents", features_admin_organisation_path(organisation, locale: nil)
    end
  end

  def admin_topical_events_header_link
    admin_header_link "Topical events", admin_topical_events_path
  end

  def admin_organisations_header_link
    admin_header_link "Departments & agencies", admin_organisations_path
  end
{'fraction_non_alphanumeric': 0.050058207217694994, 'fraction_numerical': 0.0, 'mean_word_length': 5.794466403162056, 'pattern_counts': {'":': 0, '<': 3, '<?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': '101505', 'n_tokens_mistral': 519, 'n_tokens_neox': 501, 'n_words': 109}