<commit_before>CraigsAdmin::Application.routes.draw do
  
  # the Site
  # ---------------------------------------------------------------------------------------------------------
  
  root :to => 'application#index'

  # we load in this dynamic content after the page loads, this allows us to cache the entire front end of the website
  match 'account_links', :to => 'application#account_links'

  # website pages
  match 'team', :to => 'application#team'
  match 'search', :to => 'application#search'
  match 'videos', :to => 'application#videos'
  
  # about pages / sug-pages
  match 'about', :to => 'Application::About#index'
  match 'about/staff', :to => 'Application::About#staff'
  match 'about/staff/:id', :to => 'Application::About#staff'
  match 'about/volunteer', :to => 'Application::About#volunteer'
  
  # community pages / sub-pages
  match 'community', :to => 'Application::Community#index'  

  match 'partners', :to => 'Application::Partners#index'
  match 'partners/integrated-partnerships', :to => 'Application::Partners#integrated_partnerships'
  match 'sponsors', :to => 'Application::Sponsors#index'
  
  # Events: Talks, Mega Talks, Labs, Partner Programs...
  match 'events', :to => 'Application::Events#index'

  match 'events/talks', :to => 'Application::Talks#talks'
  
  match 'talks/:id', :to => 'Application::Talks#talks', :as => "talk"
  #match 'talks/:id/chapter/:id', :to => 'Application::Talks#chapter', :as => "chapter"
  resources :talks do
    resources :chapters
  end

  match 'events/mega-talks', :to => 'Application::Talks#mega_talks'
  match 'events/mega-talks/:id', :to => 'Application::Talks#mega_talks', :as => "megatalk"
  
  match 'events/labs', :to => 'Application::Events#labs'
  match 'events/labs/:id', :to => 'Application::Events#labs', :as => "event_lab"

  match 'events/partner-programs', :to => 'Application::Events#partner_programs'
  match 'events/partner-programs/:id', :to => 'Application::Events#partner_programs', :as => "event_partnerprogram"

  # legalese 
  match 'privacy', :to => 'application#privacy'
  match 'terms', :to => 'application#terms'
    
  # users homepage
  match 'dashboard' => 'application#dashboard', :as => 'user_root'
  
  # authentication for the website, uses Devise and Omniauth for facebook and twitter connect
  devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
  match 'account', :to => 'users#index'
  
  resources :users do
    member do
      put :disconnect_facebook
      put :disconnect_twitter
      put :complete_account_update
    end
  end
  
  resources :topics, :only => [:index, :show]
  resources :speakers, :only => [:index, :show], :controller => 'Application::Speakers'
  resources :volunteer, :only => [:index, :show], :controller => "Application::Volunteer"
  resources :partner, :only => [:index, :show], :controller => "Application::Partner"
  resources :sponsors, :only => [:index, :show], :controller => "Application::Sponsors"

  
  
  # the Admin                                                                   (http://www.domain.com/admin)<commit_msg>conflicts<commit_after>CraigsAdmin::Application.routes.draw do
  
  # the Site
  # ---------------------------------------------------------------------------------------------------------
  
  root :to => 'application#index'

  # we load in this dynamic content after the page loads, this allows us to cache the entire front end of the website
  match 'account_links', :to => 'application#account_links'

  # website pages
  match 'team', :to => 'application#team'
  match 'search', :to => 'application#search'
  match 'videos', :to => 'application#videos'
  
  # about pages / sug-pages
  match 'about', :to => 'Application::About#index'
  match 'about/staff', :to => 'Application::About#staff'
  match 'about/staff/:id', :to => 'Application::About#staff'
  match 'about/volunteer', :to => 'Application::About#volunteer'
  
  # community pages / sub-pages
  match 'community', :to => 'Application::Community#index'  

  match 'partners', :to => 'Application::Partners#index'
  match 'partners/integrated-partnerships', :to => 'Application::Partners#integrated_partnerships'
  match 'sponsors', :to => 'Application::Sponsors#index'
  
  # Events: Talks, Mega Talks, Labs, Partner Programs...
  match 'events', :to => 'Application::Events#index'

  match 'events/talks', :to => 'Application::Talks#talks'
  
  match 'talks/:id', :to => 'Application::Talks#talks', :as => "talk"
  #match 'talks/:id/chapter/:id', :to => 'Application::Talks#chapter', :as => "chapter"
  resources :talks do
    resources :chapters
  end
  match 'chapters/:id', :to => 'Application::Chapters#show', :as => "chapter"

  match 'events/mega-talks', :to => 'Application::Talks#mega_talks'
  match 'events/mega-talks/:id', :to => 'Application::Talks#mega_talks', :as => "megatalk"
  
  match 'events/labs', :to => 'Application::Events#labs'
  match 'events/labs/:id', :to => 'Application::Events#labs', :as => "event_lab"

  match 'events/partner-programs', :to => 'Application::Events#partner_programs'
  match 'events/partner-programs/:id', :to => 'Application::Events#partner_programs', :as => "event_partnerprogram"

  # legalese 
  match 'privacy', :to => 'application#privacy'
  match 'terms', :to => 'application#terms'
    
  # users homepage
  match 'dashboard' => 'application#dashboard', :as => 'user_root'
  
  # authentication for the website, uses Devise and Omniauth for facebook and twitter connect
  devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" }
  match 'account', :to => 'users#index'
  
  
  resources :users do
    member do
      put :disconnect_facebook
      put :disconnect_twitter
      put :complete_account_update
    end
  end
  
  resources :topics, :only => [:index, :show]
  resources :speakers, :only => [:index, :show], :controller => 'Application::Speakers'
  resources :volunteer, :only => [:index, :show], :controller => "Application::Volunteer"
  resources :partner, :only => [:index, :show], :controller => "Application::Partner"
  resources :sponsors, :only => [:index, :show], :controller => "Application::Sponsors"

  
  
  # the Admin                                                                   (http://www.domain.com/admin)
{'fraction_non_alphanumeric': 0.1892749484372521, 'fraction_numerical': 0.0, 'mean_word_length': 3.5714285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4178211', 'n_tokens_mistral': 1999, 'n_tokens_neox': 1933, 'n_words': 475}