<commit_before>ActionController::Routing::Routes.draw do |map|
  
  map.root :controller => "main", :action => "dashboard"
  map.dashboard "dashboard", :controller => "main", :action => "dashboard"
  map.about "about", :controller => "main", :action => 'about'
  
  map.signout "signout", :controller => "user_sessions", :action => "destroy"
  map.signin "signin", :controller => "user_sessions", :action => "new"
  map.signup "signup", :controller => "users", :action => "new"
  map.confirm 'confirm/:token', :controller => 'users', :action => "confirm"  
  
  map.resources :users
  map.resource :profile, :controller => "users" do |profile|
    profile.resources :keys
  end
  map.resource :user_session
  
  map.contact "contact", :controller => 'contact', :action => 'index'
  map.contact_submission "contact/submit", :controller => 'contact', :action => 'submit'
  
  map.suggest "suggest", :controller => 'suggest', :action => 'index'
  map.data_suggestion "suggest/suggest", :controller => 'suggest', :action => 'suggest'

  map.search "search", :controller => "search", :action => "index"

  map.browse "browse", :controller => "browse", :action => "index"

  map.resource :admin, :controller => "admin" do |admin|
    admin.resources :sources, :controller => "admin/sources"
    admin.resources :organizations, :controller => "admin/organizations"
    admin.resources :data_suggestions, :controller => "admin/data_suggestions"
    admin.resources :users, :controller => "admin/users" do |user|
      user.resources :keys, :controller => "admin/keys"
    end
    admin.resources :contact_submissions, :controller => "admin/contact_submissions"
  end

  map.source ":slug", :controller => "main", :action => "source" 

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'

end<commit_msg>Move data source route from /:slug to /data/:slug [Story1505464]<commit_after>ActionController::Routing::Routes.draw do |map|
  
  map.root :controller => "main", :action => "dashboard"
  map.dashboard "dashboard", :controller => "main", :action => "dashboard"
  map.about "about", :controller => "main", :action => 'about'
  
  map.signout "signout", :controller => "user_sessions", :action => "destroy"
  map.signin "signin", :controller => "user_sessions", :action => "new"
  map.signup "signup", :controller => "users", :action => "new"
  map.confirm 'confirm/:token', :controller => 'users', :action => "confirm"  
  
  map.resources :users
  map.resource :profile, :controller => "users" do |profile|
    profile.resources :keys
  end
  map.resource :user_session
  
  map.contact "contact", :controller => 'contact', :action => 'index'
  map.contact_submission "contact/submit", :controller => 'contact', :action => 'submit'
  
  map.suggest "suggest", :controller => 'suggest', :action => 'index'
  map.data_suggestion "suggest/suggest", :controller => 'suggest', :action => 'suggest'

  map.search "search", :controller => "search", :action => "index"

  map.browse "browse", :controller => "browse", :action => "index"

  map.resource :admin, :controller => "admin" do |admin|
    admin.resources :sources, :controller => "admin/sources"
    admin.resources :organizations, :controller => "admin/organizations"
    admin.resources :data_suggestions, :controller => "admin/data_suggestions"
    admin.resources :users, :controller => "admin/users" do |user|
      user.resources :keys, :controller => "admin/keys"
    end
    admin.resources :contact_submissions, :controller => "admin/contact_submissions"
  end

  map.source "data/:slug", :controller => "data", :action => "show" 

  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'

end
{'fraction_non_alphanumeric': 0.17545748116254037, 'fraction_numerical': 0.001883745963401507, 'mean_word_length': 4.744976816074189, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 75, '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': '4463962', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1139, 'n_words': 283}