<commit_before>Rails.application.routes.draw do

  root "sessions#new"

  get "/login" => "sessions#new",                                 defaults: {format: :json}
  post "/login" => "sessions#create",                             defaults: {format: :json}
  delete "/logout" => "sessions#destroy",                         defaults: {format: :json}

  get "/users" => "users#index",                                  defaults: {format: :json}

  get "/user/:id" => "users#show",                                defaults: {format: :json}
  get "/user" => "users#new",                                     defaults: {format: :json}
  post "/user" => "users#create",                                 defaults: {format: :json}
  #registration ^

  get "/recipe/:id" => "recipes#show",                             defaults: {format: :json}
  post "/recipe/:id/steps" => "recipes#steps",                    defaults: {format: :json}
  #add a new step to recipe ^
  post "/recipe/:id/ingredients" => "recipe#ingredients",         defaults: {format: :json}

  get "/cook_book/:id" => "cook_books#show",                      defaults: {format: :json}
  get "/cook_book/search" => "cook_books#show",                    defaults: {format: :json}
  #No need for a post, created with a kitchen.

  get "/shopping_list/:id" => "shopping_lists#show",              defaults: {format: :json}
  #No need for a post, created with a kitchen.
  post "/shopping_list/:id/ingredients" => "shopping_list#ingredients", defaults: {format: :json}

  get "/kitchen/:id" => "kitchens#show",                          defaults: {format: :json}
  post "/kitchen/" => "kitchens#create",                           defaults: {format: :json}
  delete "/kitchen/:id" => "kitchens#destroy",                    defaults: {format: :json}
  # This will trash EVERYTHING but a user. Dependent destroy everywhere

  # Josh
  get "/kitchen/search" => "kitchen#search",                     defaults: {format: :json}

  get "/kitchen/:id/join" => "kitchens#join",                     defaults: {format: :json}

  get "/note/:id" => "notes#show",                                defaults: {format: :json}
  post "/recipe/:recipe_id/notes" => "notes#recipes",             defaults: {format: :json}

  get "/cook_book/:id/recipes/search" => "recipes#search",         defaults: {format: :json}



  get "recipe/:recipe_id/bright" => "recipes#brightfoloshow",           defaults: {format: :json}

  post "recipe/bright" => "recipes#brightfolocreate",             defaults: {format: :json}
end<commit_msg>Delete bright routes<commit_after>Rails.application.routes.draw do

  root "sessions#new"

  get "/login" => "sessions#new",                                 defaults: {format: :json}
  post "/login" => "sessions#create",                             defaults: {format: :json}
  delete "/logout" => "sessions#destroy",                         defaults: {format: :json}

  get "/users" => "users#index",                                  defaults: {format: :json}

  get "/user/:id" => "users#show",                                defaults: {format: :json}
  get "/user" => "users#new",                                     defaults: {format: :json}
  post "/user" => "users#create",                                 defaults: {format: :json}
  #registration ^

  get "/recipe/:id" => "recipes#show",                             defaults: {format: :json}
  post "/recipe/:id/steps" => "recipes#steps",                    defaults: {format: :json}
  #add a new step to recipe ^
  post "/recipe/:id/ingredients" => "recipe#ingredients",         defaults: {format: :json}

  get "/cook_book/:id" => "cook_books#show",                      defaults: {format: :json}
  get "/cook_book/search" => "cook_books#show",                    defaults: {format: :json}
  #No need for a post, created with a kitchen.

  get "/shopping_list/:id" => "shopping_lists#show",              defaults: {format: :json}
  #No need for a post, created with a kitchen.
  post "/shopping_list/:id/ingredients" => "shopping_list#ingredients", defaults: {format: :json}

  get "/kitchen/:id" => "kitchens#show",                          defaults: {format: :json}
  post "/kitchen/" => "kitchens#create",                           defaults: {format: :json}
  delete "/kitchen/:id" => "kitchens#destroy",                    defaults: {format: :json}
  # This will trash EVERYTHING but a user. Dependent destroy everywhere

  # Josh
  get "/kitchen/search" => "kitchen#search",                     defaults: {format: :json}

  get "/kitchen/:id/join" => "kitchens#join",                     defaults: {format: :json}

  get "/note/:id" => "notes#show",                                defaults: {format: :json}
  post "/recipe/:recipe_id/notes" => "notes#recipes",             defaults: {format: :json}

  get "/cook_book/:id/recipes/search" => "recipes#search",         defaults: {format: :json}

end
{'fraction_non_alphanumeric': 0.1552567237163814, 'fraction_numerical': 0.0, 'mean_word_length': 1.9590114526823388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '571645', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1429, 'n_words': 359}