<commit_before>Skillshare::Application.routes.draw do
  resources :users, except: %i[new create] do
    resources :proposals, shallow: true, except: :index do
      resources :messages, only: :create
    end
  end

  root 'proposals#index'
  root 'proposals#index', as: 'proposals'
  get 'map', to: 'users#map'
  get 'proposals', to: 'proposals#index', as: 'proposals_atom'

  # authentication
  match 'auth/:provider/callback', to: 'sessions#create',                 via: %i[get post]
  match 'auth/failure',            to: 'sessions#failure',                via: %i[get post]
  match 'sessions',                to: 'sessions#create',                 via: %i[get post]
  match 'signin',                  to: 'sessions#new',     as: 'signin',  via: %i[get post]
  match 'signout',                 to: 'sessions#destroy', as: 'signout', via: %i[get post]

  # static pages
  get 'about', to: 'pages#about'
  get 'faq',   to: 'pages#faq'
end<commit_msg>clean up routes<commit_after>Skillshare::Application.routes.draw do
  resources :users, except: %i[new create] do
    resources :proposals, shallow: true, except: :index do
      resources :messages, only: :create
    end
  end

  root 'proposals#index'
  root 'proposals#index', as: 'proposals'
  get 'map'       => 'users#map'
  get 'proposals' => 'proposals#index', as: 'proposals_atom'

  # authentication
  get 'auth/:provider/callback' => 'sessions#create'
  get 'auth/failure'            => 'sessions#failure'
  get 'sessions'                => 'sessions#create'
  get 'signin'                  => 'sessions#new',     as: 'signin'
  get 'signout'                 => 'sessions#destroy', as: 'signout'

  # static pages
  get 'about' => 'pages#about'
  get 'faq'   => 'pages#faq'
end
{'fraction_non_alphanumeric': 0.14548591144335826, 'fraction_numerical': 0.0, 'mean_word_length': 2.8325991189427313, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '2434814', 'n_tokens_mistral': 586, 'n_tokens_neox': 578, 'n_words': 153}