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

  root to: 'main#home', via: :get
  
  match 'request', to: 'main#requestinvite', via: :get, as: :request
  
  match 'search/topics', to: 'main#searchtopics', via: :get, as: :searchtopics
  match 'search/maps', to: 'main#searchmaps', via: :get, as: :searchmaps
  match 'search/mappers', to: 'main#searchmappers', via: :get, as: :searchmappers
  match 'search/synapses', to: 'main#searchsynapses', via: :get, as: :searchsynapses
  
  resources :mappings, except: [:index, :new, :edit]
  resources :metacode_sets, :except => [:show]
  resources :metacodes, :except => [:show, :destroy]
  resources :synapses, except: [:index, :new, :edit]
  resources :topics, except: [:index, :new, :edit] do
    get :autocomplete_topic, :on => :collection
  end
  match 'topics/:id/network', to: 'topics#network', via: :get, as: :network
  match 'topics/:id/relative_numbers', to: 'topics#relative_numbers', via: :get, as: :relative_numbers
  match 'topics/:id/relatives', to: 'topics#relatives', via: :get, as: :relatives
  
  match 'explore/active', to: 'maps#index', via: :get, as: :activemaps
  match 'explore/featured', to: 'maps#index', via: :get, as: :featuredmaps
  match 'explore/mine', to: 'maps#index', via: :get, as: :mymaps
  match 'explore/mapper/:id', to: 'maps#index', via: :get, as: :usermaps
  resources :maps, except: [:new, :edit]
  match 'maps/:id/contains', to: 'maps#contains', via: :get, as: :contains
  match 'maps/:id/upload_screenshot', to: 'maps#screenshot', via: :post, as: :screenshot
  
  devise_for :users, controllers: { registrations: 'users/registrations', passwords: '<PASSWORD>', sessions: 'devise/sessions' }, :skip => [:sessions]

  devise_scope :user do 
    get 'login' => 'devise/sessions#new', :as => :new_user_session
    post 'login' => 'devise/sessions#create', :as => :user_session
    get 'logout' => 'devise/sessions#destroy', :as => :destroy_user_session
    get 'join' => 'devise/registrations#new', :as => :new_user_registration
  end

  match 'users/:id/details', to: 'users#details', via: :get, as: :details
  match 'user/updatemetacodes', to: 'users#updatemetacodes', via: :post, as: :updatemetacodes
  resources :users, except: [:index, :destroy]
end<commit_msg>remove match method from routes.rb<commit_after>Metamaps::Application.routes.draw do

  root to: 'main#home', via: :get
  
  get 'request', to: 'main#requestinvite', as: :request
  
  get 'search/topics', to: 'main#searchtopics', as: :searchtopics
  get 'search/maps', to: 'main#searchmaps', as: :searchmaps
  get 'search/mappers', to: 'main#searchmappers', as: :searchmappers
  get 'search/synapses', to: 'main#searchsynapses', as: :searchsynapses
  
  resources :mappings, except: [:index, :new, :edit]
  resources :metacode_sets, :except => [:show]
  resources :metacodes, :except => [:show, :destroy]
  resources :synapses, except: [:index, :new, :edit]
  resources :topics, except: [:index, :new, :edit] do
    get :autocomplete_topic, :on => :collection
  end
  get 'topics/:id/network', to: 'topics#network', as: :network
  get 'topics/:id/relative_numbers', to: 'topics#relative_numbers', as: :relative_numbers
  get 'topics/:id/relatives', to: 'topics#relatives', as: :relatives
  
  get 'explore/active', to: 'maps#index', as: :activemaps
  get 'explore/featured', to: 'maps#index', as: :featuredmaps
  get 'explore/mine', to: 'maps#index', as: :mymaps
  get 'explore/mapper/:id', to: 'maps#index', as: :usermaps
  resources :maps, except: [:new, :edit]
  get 'maps/:id/contains', to: 'maps#contains', as: :contains
  get 'maps/:id/upload_screenshot', to: 'maps#screenshot', as: :screenshot
  
  devise_for :users, controllers: { registrations: 'users/registrations', passwords: '<PASSWORD>', sessions: 'devise/sessions' }, :skip => :sessions

  devise_scope :user do 
    get 'login' => 'devise/sessions#new', :as => :new_user_session
    post 'login' => 'devise/sessions#create', :as => :user_session
    get 'logout' => 'devise/sessions#destroy', :as => :destroy_user_session
#    get 'join' => 'devise/registrations#new', :as => :new_user_registration
  end

  get 'users/:id/details', to: 'users#details', as: :details
  post 'user/updatemetacodes', to: 'users#updatemetacodes', as: :updatemetacodes
  resources :users, except: [:index, :destroy]
end
{'fraction_non_alphanumeric': 0.17457744848344525, 'fraction_numerical': 0.0, 'mean_word_length': 5.371681415929204, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '866813', 'n_tokens_mistral': 1566, 'n_tokens_neox': 1559, 'n_words': 399}