<commit_before>Rails.application.routes.draw do

  devise_for :users, controllers: {
    passwords: '<PASSWORD>'
  }
  ActiveAdmin.routes(self)
  root 'static#home'

  get '/survey' => 'static#survey'
  get '/contact' => 'static#contact'

  resource :checklist, only: [:show, :update]
  
  resources :subscriptions, only: [:create]

  get '/resources', to: redirect('/resources/search')
  get '/resources/search' => 'resources#new'
  post '/resources/search' => 'resources#search'
  get '/resources/search/:id' => 'resources#results'
  get '/resources/:id' => 'resources#show'

  comfy_route :cms_admin, :path => '/cms'
  comfy_route :cms, :path => '/', :sitemap => false # Make sure this routeset is defined last

end<commit_msg>Add redirect for a step page to /resources/search page<commit_after>Rails.application.routes.draw do
  devise_for :users, controllers: {
    passwords: '<PASSWORD>'
  }
  ActiveAdmin.routes(self)
  root 'static#home'

  get '/survey' => 'static#survey'
  get '/contact' => 'static#contact'

  resource :checklist, only: [:show, :update]
  
  resources :subscriptions, only: [:create]

  get '/resources', to: redirect('/resources/search')
  get '/resources/search' => 'resources#new'
  post '/resources/search' => 'resources#search'
  get '/resources/search/:id' => 'resources#results'
  get '/resources/:id' => 'resources#show'

  get '/grow/obtain-funding', to: redirect('/resources/search') # covers a CMS route
  comfy_route :cms_admin, path: '/cms'
  comfy_route :cms, path: '/', sitemap: false # Make sure this routeset is defined last
end
{'fraction_non_alphanumeric': 0.16253968253968254, 'fraction_numerical': 0.0, 'mean_word_length': 4.472222222222222, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, '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': '4577627', 'n_tokens_mistral': 523, 'n_tokens_neox': 512, 'n_words': 131}