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

  get "mailbox/show"

  get "messages/show"

  get "sent/index"

  get "sent/show"

  get "sent/new"
  
  root :to => 'home#splash', :as => :home
  root :to => 'home#splash', :as => :root
  
  scope :as => :home do
    get  '/' => 'home#splash', :as => :splash
    get '/login' => 'sessions#new', :as => :login
    get '/logout' => 'sessions#destroy', :as => :logout
    get  '/register' => 'users#new', :as => :register
  end
  
  resources :questions do
    resources :response_questions, :shallow => true
    resources :challenges, :shallow => true do
      resources :proposals, :shallow => true 
    end
    resources :events, :shallow => true
  end
  
  resources :users, :sent, :messages, :mailbox, :inbox
  
  resources :users do
    resources :mailbox
    resources :sent
  end
  
  
  resources :inbox do
    get '/index' => 'inbox#index', :controller => "inbox", :action => "index"

    member do
      get 'respond'
    end
  end
  
  
  resources :sessions
  resources :questions
  resources :challenges
  resources :responses
  resources :discussion do<commit_msg>edited changes?<commit_after>Citysandbox::Application.routes.draw do

  match "users/sent" => "sent#show"

  match "users/inbox/new" => "inbox#new"
  match "users/inbox/reply" => "inbox#respond"
  match "users/inbox/view" => "inbox#view"
  match "users/inbox/create" => "inbox#create"
  match "users/inbox" => "inbox#show"

  root :to => 'home#splash', :as => :home
  root :to => 'home#splash', :as => :root
  
  scope :as => :home do
    get  '/' => 'home#splash', :as => :splash
    get '/login' => 'sessions#new', :as => :login
    get '/logout' => 'sessions#destroy', :as => :logout
    get  '/register' => 'users#new', :as => :register
  end
  
  resources :questions do
    resources :response_questions, :shallow => true
    resources :challenges, :shallow => true do
      resources :proposals, :shallow => true 
    end
    resources :events, :shallow => true
  end
  
  resources :users, :messages,  :inbox
  
  scope "/users" do
    resources :mailbox
    resources :sent
  end
  
  
  resources :inbox do
    get '/index' => 'inbox#index', :controller => "inbox", :action => "index"

    member do
      get 'respond'
    end
  end
  
  
  resources :sessions
  resources :questions
  resources :challenges
  resources :responses
  resources :discussion do
{'fraction_non_alphanumeric': 0.14904246461282264, 'fraction_numerical': 0.0, 'mean_word_length': 3.11472602739726, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4199686', 'n_tokens_mistral': 842, 'n_tokens_neox': 812, 'n_words': 224}