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

  resources :services

  resources :vendors
  
  resources :projects 
  
  get '/password',  to: 'home#password',  as: 'password'
  
  get '/assign/:id',  to: 'projects#assign',  as: 'assign'
  
  get '/project/status/:change',  to: 'projects#index'
 
  get '/assign/service/:id/:project_id',  to: 'projects#get_service_list'
  
  get '/change/status/:id/:change_to',  to: 'projects#change_status'
      
  get '/validate/:project_name',  to: 'projects#validate', as: 'validate'
  
  get '/invitations',  to: 'home#show_invitations', as: 'invitations'
  
  get '/user/validate',  to: 'admin#validate_user'
  
  match "*path", :to => "application#rescue_404"

  devise_for :users
  
  root :to => 'home#index'

  resources :admin do
      member do
	put 'update'
      end
  end
  
  resources :home do
      member do
	put 'update'
      end
  end
  

  #devise_for :users
  # config.action_mailer.default_url_options = { host: 'localhost:3000' }
  # The priority is based upon order of creation:
  # first created -> highest priority.

  # Sample of regular route:
  #   match 'products/:id' => 'catalog#view'
  # Keep in mind you can assign values other than :controller and :action

  # Sample of named route:
  #   match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase<commit_msg>Update routes.rb<commit_after>Library::Application.routes.draw do

  resources :services

  resources :vendors
  
  resources :projects 
  
  get '/password',  to: 'home#password',  as: 'password'
  
  get '/assign/:id',  to: 'projects#assign',  as: 'assign'
  
  get '/project/status/:change',  to: 'projects#index'
 
  get '/assign/service/:id/:project_id',  to: 'projects#get_service_list'
  
  get '/change/status/:id/:change_to',  to: 'projects#change_status'
      
  get '/validate/:project_name',  to: 'projects#validate', as: 'validate'
  
  get '/invitations',  to: 'home#show_invitations', as: 'invitations'
  
  get '/user/validate',  to: 'admin#validate_user'
  
  devise_for :users
  
  root :to => 'home#index'

  resources :admin do
      member do
	put 'update'
      end
  end
  
  resources :home do
      member do
	put 'update'
      end
  end
  

  #devise_for :users
  # config.action_mailer.default_url_options = { host: 'localhost:3000' }
  # The priority is based upon order of creation:
  # first created -> highest priority.

  # Sample of regular route:
  #   match 'products/:id' => 'catalog#view'
  # Keep in mind you can assign values other than :controller and :action

  # Sample of named route:
  #   match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
{'fraction_non_alphanumeric': 0.13360933383515242, 'fraction_numerical': 0.0041400075272864136, 'mean_word_length': 3.3502454991816695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '1305174', 'n_tokens_mistral': 898, 'n_tokens_neox': 890, 'n_words': 236}