<commit_before>Monitoring::Engine.routes.draw do
  get '/' => 'overview#index', as: :entry

  get 'alarm_definitions/search/' => 'alarm_definitions#search'
  get 'notification_methods/search/' => 'notification_methods#search'
  
  resources 'alarms', except: [:new, :create]
  resources 'alarm_definitions' do
    member do
      get 'toggle_alarm_actions'
    end
  end
  resources 'notification_methods'
end<commit_msg>simplify routes<commit_after>Monitoring::Engine.routes.draw do
  get '/' => 'overview#index', as: :entry

  resources 'alarms', except: [:new, :create]

  resources 'alarm_definitions' do
    collection do
      get 'search'
    end
    member do
      get 'toggle_alarm_actions'
    end
  end

  resources 'notification_methods' do
    collection do
      get 'search'
    end
  end

end
{'fraction_non_alphanumeric': 0.10877626699629171, 'fraction_numerical': 0.0, 'mean_word_length': 3.764705882352941, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7040634', 'n_tokens_mistral': 263, 'n_tokens_neox': 257, 'n_words': 64}