<commit_before>Rails.application.routes.draw do
  #welcome
  root to: 'welcome#home'
  
  #sessions
  get '/login' => 'sessions#new'
  post '/sessions/create' => 'sessions#create'
  delete '/logout' => 'sessions#destroy'

  #card
  resources :cards, :only => [:index, :show, :new, :edit, :create, :update]
  get '/cards/index_type/:type' => 'cards#index_type', :as => 'index_type'



  #user
  resources :users, :only => [:new, :show, :edit, :create, :update]


  resources :accounts
  resources :categories
  resources :card_bank_partners
  resources :bank_partners
  
  

  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"
  # root 'welcome#index'

  # Example of regular route:
  #   get 'products/:id' => 'catalog#view'

  # Example of named route that can be invoked with purchase_url(id: product.id)
  #   get 'products/:id/purchase' => 'catalog#purchase', as: :purchase<commit_msg>fixed cards_index_type<commit_after>Rails.application.routes.draw do
  #welcome
  root to: 'welcome#home'
  
  #sessions
  get '/login' => 'sessions#new'
  post '/sessions/create' => 'sessions#create'
  delete '/logout' => 'sessions#destroy'

  #card
  resources :cards, :only => [:index, :show, :new, :edit, :create, :update]
  get '/cards/index_type/:type' => 'cards#index_type', :as => 'cards_index_type'



  #user
  resources :users, :only => [:new, :show, :edit, :create, :update]


  resources :accounts
  resources :categories
  resources :card_bank_partners
  resources :bank_partners
  
  

  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"
  # root 'welcome#index'

  # Example of regular route:
  #   get 'products/:id' => 'catalog#view'

  # Example of named route that can be invoked with purchase_url(id: product.id)
  #   get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
{'fraction_non_alphanumeric': 0.13499281953087602, 'fraction_numerical': 0.0, 'mean_word_length': 3.9761904761904763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '1253334', 'n_tokens_mistral': 700, 'n_tokens_neox': 685, 'n_words': 212}