<commit_before>Rails.application.routes.draw do

  devise_for :users
  root to: 'home#index'
  #devise_for :users
  #resources :users

  get '/buy_posts/new', to: 'buy_posts#new'
  post '/buy_posts/create', to: 'buy_posts#create'

  get '/sale_posts/new', to: 'sale_posts#new'
  post '/sale_posts/create', to: 'sale_posts#create'

  #still need to add routes for patching items when they are bought or sold

  # patch '/purchase', to: 'users#purchase'
<commit_msg>Add suggestion for<commit_after>Rails.application.routes.draw do

  devise_for :users
  root to: 'home#index'
  #devise_for :users
  #resources :users

  get '/buy_posts/new', to: 'buy_posts#new'
  post '/buy_posts/create', to: 'buy_posts#create'

  get '/sale_posts/new', to: 'sale_posts#new'
  post '/sale_posts/create', to: 'sale_posts#create'

  #still need to add routes for patching items when bought/sold (toggle)

  # patch '/purchase', to: 'users#purchase'

{'fraction_non_alphanumeric': 0.13440860215053763, 'fraction_numerical': 0.0, 'mean_word_length': 4.574850299401198, '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': '5902291', 'n_tokens_mistral': 355, 'n_tokens_neox': 327, 'n_words': 89}