<commit_before>ActionController::Routing::Routes.draw do |map|
  map.resources :ideas, :member => { :assign => :post, :subscribe => :post, :unsubscribe => [:post, :get] } do |idea|  # unsubscribe supports GET for direct link from e-mail
    idea.resources :comments # for new/create, idea-specific index
    idea.resource :vote
  end

  map.resources :currents, :member => { :subscribe => :post, :unsubscribe => [:post, :get] } do |current|
    current.resources :ideas
  end
  map.resource :user
  map.resource :session, :member => {
    :create_twitter => :get,
    :create_facebook => :get
  }
  map.resources :comments # for global comment list
  map.resources :tags
  map.resources :profiles
  map.resource :map

  map.suggestions         '/suggestions',                        :controller => 'currents',  :action => 'show' , :id=> Current::SUGESSIONS_ID
  map.follow              '/users/follow/:id',                   :controller => 'users',    :action => 'follow'
  map.following           '/users/following',                    :controller => 'users',    :action => 'following'
  map.login               '/login',                              :controller => 'sessions', :action => 'new'
  map.twitter_login       '/login/twitter',                      :controller => 'sessions', :action => 'new_twitter'
  map.logout              '/logout',                             :controller => 'sessions', :action => 'destroy'
  map.signup              '/signup',                             :controller => 'users', :action => 'new'<commit_msg>Added the routes files<commit_after>ActionController::Routing::Routes.draw do |map|
  map.resources :ideas, :member => { :assign => :post, :subscribe => :post, :unsubscribe => [:post, :get] } do |idea|  # unsubscribe supports GET for direct link from e-mail
    idea.resources :comments # for new/create, idea-specific index
    idea.resource :vote
  end

  map.resources :currents, :member => { :subscribe => :post, :unsubscribe => [:post, :get] } do |current|
    current.resources :ideas
  end
  map.resource :user
  map.resource :session, :member => {
    :create_twitter => :get,
    :create_facebook => :get
  }
  map.resources :comments # for global comment list
  map.resources :tags
  map.resources :profiles
  map.resource :map

  map.suggestions         '/suggestions',                        :controller => 'currents',  :action => 'show' , :id=> Current::SUGESSIONS_ID

  map.unfollow            '/users/unfollow/:id',                 :controller => 'users',    :action => 'unfollow'
  map.follow              '/users/follow/:id',                   :controller => 'users',    :action => 'follow'
  map.following           '/users/following',                    :controller => 'users',    :action => 'following'
  map.login               '/login',                              :controller => 'sessions', :action => 'new'
  map.twitter_login       '/login/twitter',                      :controller => 'sessions', :action => 'new_twitter'
  map.logout              '/logout',                             :controller => 'sessions', :action => 'destroy'
  map.signup              '/signup',                             :controller => 'users', :action => 'new'
{'fraction_non_alphanumeric': 0.1454828660436137, 'fraction_numerical': 0.0, 'mean_word_length': 2.151128557409225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 55, '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': '2831466', 'n_tokens_mistral': 891, 'n_tokens_neox': 872, 'n_words': 228}