<commit_before>class HomeController < ApplicationController
  layout 'home'

  def index
    if current_user
      flash.keep
      redirect_to stream_path
    end

    @entries = Entry.everyone.where(:created_at > 1.week.ago).order("starlight DESC").limit(8)
  end

  def parse_url_title
    @url = params[:url]
    @title = ExternalUrl.title(@url)
    render :json => {:title => @title}
  end

  def feedback
  end

  def submit_feedback
    AdminMailer.feedback_email( current_user, params[:feedback] ).deliver

    redirect_to entries_path, notice: "Your feedback has been submitted to the Dreamcatcher team.  Thank you."
  end<commit_msg>due to phong's change-of-mind, i'm setting the login path BACK to the entries path<commit_after>class HomeController < ApplicationController
  layout 'home'

  def index
    if current_user
      flash.keep
      redirect_to entries_path
    end

    @entries = Entry.everyone.where(:created_at > 1.week.ago).order("starlight DESC").limit(8)
  end

  def parse_url_title
    @url = params[:url]
    @title = ExternalUrl.title(@url)
    render :json => {:title => @title}
  end

  def feedback
  end

  def submit_feedback
    AdminMailer.feedback_email( current_user, params[:feedback] ).deliver

    redirect_to entries_path, notice: "Your feedback has been submitted to the Dreamcatcher team.  Thank you."
  end
{'fraction_non_alphanumeric': 0.09070796460176991, 'fraction_numerical': 0.0029498525073746312, 'mean_word_length': 3.5844594594594597, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '3811026', 'n_tokens_mistral': 433, 'n_tokens_neox': 403, 'n_words': 118}