<commit_before>Shapado::Application.routes.draw do
  match '/oauth/start' => 'oauth#start', :as => :oauth_authorize
  match '/oauth/callback' => 'oauth#callback', :as => :oauth_callback
  match '/twitter/start' => 'twitter#start', :as => :twitter_authorize
  match '/twitter/callback' => 'twitter#callback', :as => :twitter_callback
  match '/twitter/share' => 'twitter#share', :as => :twitter_share
  devise_for :users, :path_names => { :sign_in => 'login', :sign_out => 'logout' }
  match 'confirm_age_welcome' => 'welcome#confirm_age', :as => :confirm_age_welcome
  match '/change_language_filter' => 'welcome#change_language_filter', :as => :change_language_filter
  match '/register' => 'users#create', :as => :register
  match '/signup' => 'users#new', :as => :signup
  match '/moderate' => 'admin/moderate#index', :as => :moderate
  match '/moderate/ban' => 'admin/moderate#ban', :as => :ban
  match '/moderate/unban' => 'admin/moderate#unban', :as => :unban
  match '/facts' => 'welcome#facts', :as => :facts
  match '/plans' => 'doc#plans', :as => :plans
  match '/chat' => 'doc#chat', :as => :chat
  match '/feedback' => 'welcome#feedback', :as => :feedback
  match '/send_feedback' => 'welcome#send_feedback', :as => :send_feedback
  match '/settings' => 'users#edit', :as => :settings
  match '/tos' => 'doc#tos', :as => :tos
  match '/privacy' => 'doc#privacy', :as => :privacy

  resources :users do
    collection do
      get :autocomplete_for_user_login
    end

    member do
      post :unfollow
      post :change_preferred_tags
      post :follow
    end
  end

  resource :session
  resources :ads
  resources :adsenses
  resources :adbards
  resources :badges

  resources :pages do
    member do
      get :js
      get :css
    end
  end

  resources :announcements do
    collection do
      post :hide
    end
  end

  resources :imports do
    collection do
      post :send_confirmation
    end
  end

  get '/questions/:id/:slug' => 'questions#show', :as => :se_url, :id => /\d+/

  resources :questions do
    resources :comments

    resources :answers do
      resources :comments
    end

    resources :close_requests
  end

  match 'questions/tags/:tags' => 'questions#index', :constraints => { :tags => /\S+/ }
  match 'questions/unanswered/tags/:tags' => 'questions#unanswered'

  resources :groups do
    collection do
      get :autocomplete_for_group_slug
    end

    member do
      get :logo
      get :allow_custom_ads<commit_msg>Adding routes that rails:upgrade:routes forgot.<commit_after>Shapado::Application.routes.draw do
  match '/oauth/start' => 'oauth#start', :as => :oauth_authorize
  match '/oauth/callback' => 'oauth#callback', :as => :oauth_callback
  match '/twitter/start' => 'twitter#start', :as => :twitter_authorize
  match '/twitter/callback' => 'twitter#callback', :as => :twitter_callback
  match '/twitter/share' => 'twitter#share', :as => :twitter_share
  devise_for :users, :path_names => { :sign_in => 'login', :sign_out => 'logout' }
  match 'confirm_age_welcome' => 'welcome#confirm_age', :as => :confirm_age_welcome
  match '/change_language_filter' => 'welcome#change_language_filter', :as => :change_language_filter
  match '/register' => 'users#create', :as => :register
  match '/signup' => 'users#new', :as => :signup
  match '/moderate' => 'admin/moderate#index', :as => :moderate
  match '/moderate/ban' => 'admin/moderate#ban', :as => :ban
  match '/moderate/unban' => 'admin/moderate#unban', :as => :unban
  match '/facts' => 'welcome#facts', :as => :facts
  match '/plans' => 'doc#plans', :as => :plans
  match '/chat' => 'doc#chat', :as => :chat
  match '/feedback' => 'welcome#feedback', :as => :feedback
  match '/send_feedback' => 'welcome#send_feedback', :as => :send_feedback
  match '/settings' => 'users#edit', :as => :settings
  match '/tos' => 'doc#tos', :as => :tos
  match '/privacy' => 'doc#privacy', :as => :privacy

  resources :users do
    collection do
      get :autocomplete_for_user_login
    end

    member do
      post :unfollow
      post :change_preferred_tags
      post :follow
    end
  end

  resource :session
  resources :ads
  resources :adsenses
  resources :adbards
  resources :badges

  resources :pages do
    member do
      get :js
      get :css
    end
  end

  resources :announcements do
    collection do
      post :hide
    end
  end

  resources :imports do
    collection do
      post :send_confirmation
    end
  end

  get '/questions/:id/:slug' => 'questions#show', :as => :se_url, :id => /\d+/

  resources :questions do
    collection do
      get :tags
      get :tags_for_autocomplete
      get :unanswered
      get :related_questions
    end

    member do
      get :solve
      get :unsolve
      get :flag
      get :favorite
      get :unfavorite
      get :watch
      get :unwatch
      get :history
      get :revert
      get :diff
      get :move
      put :move_to
      get :retag
      put :retag_to
      post :close
    end

    resources :comments

    resources :answers do
      member do
        get :flag
        get :history
        get :diff
        get :revert
      end

      resources :comments
    end

    resources :close_requests
  end

  match 'questions/tags/:tags' => 'questions#index', :constraints => { :tags => /\S+/ }
  match 'questions/unanswered/tags/:tags' => 'questions#unanswered'

  resources :groups do
    collection do
      get :autocomplete_for_group_slug
    end

    member do
      get :logo
      get :allow_custom_ads
{'fraction_non_alphanumeric': 0.14226093268009435, 'fraction_numerical': 0.0, 'mean_word_length': 3.175757575757576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 103, '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': '2591178', 'n_tokens_mistral': 1867, 'n_tokens_neox': 1769, 'n_words': 478}