<commit_before>Awesomefoundation::Application.routes.draw do

  match "/blog/contact/" => redirect("/en/contact")
  match "/blog/about/"   => redirect("/en/about_us")
  match "/blog/*path"    => redirect("http://blog.awesomefoundation.org/blog/%{path}")

  scope "(:locale)", :locale => /en/ do

    resources :sessions
    match "sign_in",  :to => "sessions#new"
    match "sign_out", :to => "sessions#destroy", :via => :delete

    resources :users do
      resource :admins, :only => [:create, :destroy]
    end

    resources :chapters do
      resources :finalists, :only => [:index]
      resources :projects,  :only => [:index]
      resources :users,     :only => [:index]
    end

    resources :invitations, :only => [:new, :create] do
      resources :acceptances, :only => [:new, :create]
    end

    resources :projects do
      resource :winner, :only => [:create, :destroy]
      resource :vote, :only => [:create, :destroy]
    end

    resources :submissions, :controller => "projects"

    resources :roles do
      resource :promotions, :only => [:create, :destroy]
    end

    resources :pages

    match "description", :to => "high_voltage/pages#show", :id => "description"
    match "about_us",    :to => "high_voltage/pages#show", :id => "about_us"
    match "contact",     :to => "high_voltage/pages#show", :id => "contact"
    match "faq",         :to => "high_voltage/pages#show", :id => "faq"
    match "trustees",    :to => "high_voltage/pages#show", :id => "trustees"

    root :to => 'home#index'
  end

end<commit_msg>Removed extra line breaks from config router<commit_after>Awesomefoundation::Application.routes.draw do
  match "/blog/contact/" => redirect("/en/contact")
  match "/blog/about/"   => redirect("/en/about_us")
  match "/blog/*path"    => redirect("http://blog.awesomefoundation.org/blog/%{path}")

  scope "(:locale)", :locale => /en/ do
    resources :sessions
    match "sign_in",  :to => "sessions#new"
    match "sign_out", :to => "sessions#destroy", :via => :delete

    resources :users do
      resource :admins, :only => [:create, :destroy]
    end

    resources :chapters do
      resources :finalists, :only => [:index]
      resources :projects,  :only => [:index]
      resources :users,     :only => [:index]
    end

    resources :invitations, :only => [:new, :create] do
      resources :acceptances, :only => [:new, :create]
    end

    resources :projects do
      resource :winner, :only => [:create, :destroy]
      resource :vote, :only => [:create, :destroy]
    end

    resources :submissions, :controller => "projects"

    resources :roles do
      resource :promotions, :only => [:create, :destroy]
    end

    resources :pages

    match "description", :to => "high_voltage/pages#show", :id => "description"
    match "about_us",    :to => "high_voltage/pages#show", :id => "about_us"
    match "contact",     :to => "high_voltage/pages#show", :id => "contact"
    match "faq",         :to => "high_voltage/pages#show", :id => "faq"
    match "trustees",    :to => "high_voltage/pages#show", :id => "trustees"

    root :to => 'home#index'
  end
end
{'fraction_non_alphanumeric': 0.1731629392971246, 'fraction_numerical': 0.0, 'mean_word_length': 3.2425474254742546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 59, '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': '7082091', 'n_tokens_mistral': 1035, 'n_tokens_neox': 994, 'n_words': 263}