<commit_before>Rails.application.routes.draw do
  resources :users
  # These go unused for now as users should not have the
  # ability to create new ingredients or cocktails
  # resources :ingredients
  # resources :cocktails

  get  '/feed',             to: 'feeds#index'
  post '/sessions',         to: 'sessions#create'
  post '/update_inventory', to: 'users#update_inventory'
  post '/users/:id/follow', to: 'users#follow'
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

  # Serve websocket cable requests in-process
  # mount ActionCable.server => '/cable'
end<commit_msg>Adds index and show only to cocktails and index only to ingredients<commit_after>Rails.application.routes.draw do
  resources :users
  resources :ingredients, only: [:index]
  resources :cocktails,   only: [:index, :show]

  get  '/feed',             to: 'feeds#index'
  post '/sessions',         to: 'sessions#create'
  post '/update_inventory', to: 'users#update_inventory'
  post '/users/:id/follow', to: 'users#follow'
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

  # Serve websocket cable requests in-process
  # mount ActionCable.server => '/cable'
end
{'fraction_non_alphanumeric': 0.11208967173738991, 'fraction_numerical': 0.0, 'mean_word_length': 3.789272030651341, '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': '3785477', 'n_tokens_mistral': 391, 'n_tokens_neox': 378, 'n_words': 121}