<commit_before># -*- encoding : utf-8 -*-
class NewsController < FrontendController
  def index
    @seo_carrier ||= OpenStruct.new(title: I18n.t('defaults.news_page_title'))
    @news = News.visibles.ordered.page params[:page]
    # render formats: [:html]
  end

  def show
    @news = News.find_by_slug! params[:id] #, conditions: ['hided = ?', false]
    @seo_carrier = @news<commit_msg>Micro fixes<commit_after># -*- encoding : utf-8 -*-
class NewsController < FrontendController
  def index
    @seo_carrier ||= OpenStruct.new(title: I18n.t('defaults.news_page_title'))
    @news = News.visibles.ordered.page params[:page]
    respond_to do |format|
      format.html
    end
  end

  def show
    @news = News.find_by_slug! params[:id] #, conditions: ['hided = ?', false]
    @seo_carrier = @news
{'fraction_non_alphanumeric': 0.14694894146948942, 'fraction_numerical': 0.007471980074719801, 'mean_word_length': 3.7294117647058824, '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': '4208590', 'n_tokens_mistral': 281, 'n_tokens_neox': 272, 'n_words': 58}