<commit_before>class FeedbackLandingController < ApplicationController
  skip_before_action :validate_session
  skip_before_action :set_piwik_custom_variables
  before_action { @hide_feedback_link = true }

  def index
    flash['feedback_referer'] = request.referer
    flash['feedback_source'] = params['feedback-source'].nil? ? flash['feedback_source'] : params['feedback-source']
    @feedback_landing_heading = t ( 'hub.feedback_landing.basic_heading' )

    unless current_transaction_simple_id.nil?
      @other_ways_heading = t('hub.feedback_landing.services.heading')
      @other_ways_text = current_transaction.other_ways_text
      @service_name = current_transaction.name
      @feedback_landing_heading = t( 'hub.feedback_landing.heading', service_name: @service_name )
    end
  end
end<commit_msg>Tidy up some whitespace to keep Codacy happy<commit_after>class FeedbackLandingController < ApplicationController
  skip_before_action :validate_session
  skip_before_action :set_piwik_custom_variables
  before_action { @hide_feedback_link = true }

  def index
    flash['feedback_referer'] = request.referer
    flash['feedback_source'] = params['feedback-source'].nil? ? flash['feedback_source'] : params['feedback-source']
    @feedback_landing_heading = t('hub.feedback_landing.basic_heading')

    unless current_transaction_simple_id.nil?
      @other_ways_heading = t('hub.feedback_landing.services.heading')
      @other_ways_text = current_transaction.other_ways_text
      @service_name = current_transaction.name
      @feedback_landing_heading = t('hub.feedback_landing.heading', service_name: @service_name)
    end
  end
end
{'fraction_non_alphanumeric': 0.09079903147699758, 'fraction_numerical': 0.0, 'mean_word_length': 5.6923076923076925, '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': '3392100', 'n_tokens_mistral': 511, 'n_tokens_neox': 485, 'n_words': 78}