<commit_before>class AjaxHelpController < ApplicationController

  PAGES = [:index, :tour, :accounts, :searching, :uploading, :troubleshooting, :modifying, :notes, :collaboration, :privacy, :publishing]
  PAGE_TITLES = {
    :index            => 'Introduction',
    :tour             => 'Guided Tour',
    :accounts         => 'Adding Accounts',
    :searching        => 'Searching Documents',
    :uploading        => 'Uploading Documents',
    :troubleshooting  => 'Troubleshooting Failed Uploads',
    :modifying        => 'Modifying Documents',
    :privacy          => 'Privacy',
    :collaboration    => 'Collaboration',
    :notes            => 'Editing Notes and Sections',
    :publishing       => 'Publishing &amp; Embedding'
  }

  layout false

  before_filter :login_required, :only => [:contact_us]

  def contact_us
    LifecycleMailer.deliver_contact_us(current_account, params[:message])
    json nil
  end<commit_msg>resolving merge in ajax_help_controller.rb<commit_after>class AjaxHelpController < ApplicationController

  PAGES = [:index, :tour, :accounts, :searching, :uploading, :troubleshooting, :modifying, :notes, :collaboration, :privacy, :publishing, :public]

  PAGE_TITLES = {
    :index            => 'Introduction',
    :tour             => 'Guided Tour',
    :accounts         => 'Adding Accounts',
    :searching        => 'Searching Documents',
    :uploading        => 'Uploading Documents',
    :troubleshooting  => 'Troubleshooting Failed Uploads',
    :modifying        => 'Modifying Documents',
    :privacy          => 'Privacy',
    :collaboration    => 'Collaboration',
    :notes            => 'Editing Notes and Sections',
    :publishing       => 'Publishing &amp; Embedding'
  }

  layout false

  before_filter :login_required, :only => [:contact_us]

  def contact_us
    LifecycleMailer.deliver_contact_us(current_account, params[:message])
    json nil
  end
{'fraction_non_alphanumeric': 0.11995809324253535, 'fraction_numerical': 0.0, 'mean_word_length': 3.0552016985138004, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '6599010', 'n_tokens_mistral': 612, 'n_tokens_neox': 571, 'n_words': 129}