<commit_before>RgsocTeams::Application.routes.draw do
  get 'status_updates/show'

  root to: 'activities#index'

  devise_for :users, controllers: { omniauth_callbacks: 'omniauth_callbacks' }

  devise_scope :user do
    delete 'sign_out' => 'devise/sessions#destroy'
  end

  concern :has_roles do
    resources :roles, only: [:new, :create, :destroy]
  end

  get 'users/info', to: 'users_info#index'
  resources :users, except: :new, concerns: :has_roles
  resources :sources, only: :index
  resources :comments, only: :create
  resources :conferences
  resources :attendances
  resources :contributors, only: :index
  resources :status_updates, only: :show
  resources :projects do
    member do
      get 'receipt', as: :receipt
    end
  end

  get 'rating', to: 'rating/overview#index'
  namespace :rating do
    resources 'todos', to: 'todos', only: [:index]
    namespace 'todos' do
      resources :ratings, only: [:create, :update]
      resources :comments, only: [:create]
      resources :applications, only: [:show, :edit, :update]
    end



    resources :applications, except: [:new, :create, :destroy]
    resources :ratings, only: [:create, :update]
    resources :comments, only: [:create]
  end

  resources :application_drafts, except: [:show, :destroy] do
    member do
      put :apply
      get :check
    end
  end

  get 'apply', to: 'application_drafts#new', as: :apply<commit_msg>to in routes without an action is deprecated<commit_after>RgsocTeams::Application.routes.draw do
  get 'status_updates/show'

  root to: 'activities#index'

  devise_for :users, controllers: { omniauth_callbacks: 'omniauth_callbacks' }

  devise_scope :user do
    delete 'sign_out' => 'devise/sessions#destroy'
  end

  concern :has_roles do
    resources :roles, only: [:new, :create, :destroy]
  end

  get 'users/info', to: 'users_info#index'
  resources :users, except: :new, concerns: :has_roles
  resources :sources, only: :index
  resources :comments, only: :create
  resources :conferences
  resources :attendances
  resources :contributors, only: :index
  resources :status_updates, only: :show
  resources :projects do
    member do
      get 'receipt', as: :receipt
    end
  end

  get 'rating', to: 'rating/overview#index'
  namespace :rating do
    resources 'todos', controller: 'todos', only: [:index]
    namespace 'todos' do
      resources :ratings, only: [:create, :update]
      resources :comments, only: [:create]
      resources :applications, only: [:show, :edit, :update]
    end



    resources :applications, except: [:new, :create, :destroy]
    resources :ratings, only: [:create, :update]
    resources :comments, only: [:create]
  end

  resources :application_drafts, except: [:show, :destroy] do
    member do
      put :apply
      get :check
    end
  end

  get 'apply', to: 'application_drafts#new', as: :apply
{'fraction_non_alphanumeric': 0.11953862285914016, 'fraction_numerical': 0.0, 'mean_word_length': 3.917525773195876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6838904', 'n_tokens_mistral': 963, 'n_tokens_neox': 931, 'n_words': 282}