<commit_before>UniversalCrm::Engine.routes.draw do
  root to: 'home#index'
  
  get '/logout', to: 'user_sessions#logout', as: :logout
  get '/customer/:customer_id', to: 'home#index'
  get '/ticket/:ticket_id', to: 'home#index'
  
  resources :customers do
    collection do
      get :autocomplete
    end
  end
  resources :tickets do
    member do
      patch :update_status, :flag
    end
  end
  resources :comments
  
end<commit_msg>added company routes<commit_after>UniversalCrm::Engine.routes.draw do
  root to: 'home#index'
  
  get '/logout', to: 'user_sessions#logout', as: :logout
  get '/customer/:customer_id', to: 'home#index'
  get '/company/:company_id', to: 'home#index'
  get '/ticket/:ticket_id', to: 'home#index'
  
  resources :customers do
    collection do
      get :autocomplete
    end
  end
  resources :companies do
    collection do
      get :autocomplete
    end
  end
  resources :tickets do
    member do
      patch :update_status, :flag
    end
  end
  resources :comments
  
end
{'fraction_non_alphanumeric': 0.10826771653543307, 'fraction_numerical': 0.0, 'mean_word_length': 3.2024793388429753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3988055', 'n_tokens_mistral': 349, 'n_tokens_neox': 345, 'n_words': 96}