<commit_before>Rails.application.routes.draw do
  # OmniAuth authentication with GitHub
  get 'login' => 'session#login', :as => 'login'
  match  'auth/:provider/callback' => 'session#create', :via => [:get, :post]
  get 'auth/failure' => 'session#failure'
  get 'logout' => 'session#destroy'

  # route /apps/:app_id/engagements/:engagement_id
  resources :apps do
    resources :engagements, :except => :index
    resources :engagements, :only => :destroy, :as => 'engagement_destroy'
    resources :comments, :only => [:create, :edit, :show, :update, :destroy]
  end
  # route /engagements/:engagement_id/iterations/:iteration_id
  resources :engagements, :only => [] do # don't route engagements by themselves
    resources :iterations
    resources :iterations, :only => :destroy, :as => 'iteration_destroy'
  end
  resources :orgs, :except => :show
  resources :users, :only => [:index, :new, :edit, :create, :update]
  root :to => 'apps#index'

  get 'current_iteration' => 'iterations#current_iteration', :as => 'current_iteration'
  get 'get_customer_feedback' => 'iterations#get_customer_feedback', :as => 'get_customer_feedback'
  get 'feedback/:engagement_id/:iteration_id' => 'pending_feedback#form', :as => 'feedback_form'
  post 'feedback/:engagement_id/:iteration_id' => 'pending_feedback#process_response', :as => 'feedback_process_response'
  post 'search' => 'search#search', :as => 'search'
  get 'results' => 'search#results', :as => 'results'
  
  get 'creation' => 'creation#new', :as => 'creation'
  post 'creation' => 'creation#create', :as => 'create_all'
end<commit_msg>[edit_destroy] updated Destroy path in iteration and engagement views<commit_after>Rails.application.routes.draw do
  # OmniAuth authentication with GitHub
  get 'login' => 'session#login', :as => 'login'
  match  'auth/:provider/callback' => 'session#create', :via => [:get, :post]
  get 'auth/failure' => 'session#failure'
  get 'logout' => 'session#destroy'

  # route /apps/:app_id/engagements/:engagement_id
  resources :apps do
    resources :engagements, :except => :index
    resources :comments, :only => [:create, :edit, :show, :update, :destroy]
  end
  # route /engagements/:engagement_id/iterations/:iteration_id
  resources :engagements, :only => [] do # don't route engagements by themselves
    resources :iterations
  end
  resources :orgs, :except => :show
  resources :users, :only => [:index, :new, :edit, :create, :update]
  root :to => 'apps#index'

  get 'current_iteration' => 'iterations#current_iteration', :as => 'current_iteration'
  get 'get_customer_feedback' => 'iterations#get_customer_feedback', :as => 'get_customer_feedback'
  get 'feedback/:engagement_id/:iteration_id' => 'pending_feedback#form', :as => 'feedback_form'
  post 'feedback/:engagement_id/:iteration_id' => 'pending_feedback#process_response', :as => 'feedback_process_response'
  post 'search' => 'search#search', :as => 'search'
  get 'results' => 'search#results', :as => 'results'
  
  get 'creation' => 'creation#new', :as => 'creation'
  post 'creation' => 'creation#create', :as => 'create_all'
end
{'fraction_non_alphanumeric': 0.16376531270148292, 'fraction_numerical': 0.0, 'mean_word_length': 5.478079331941545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 63, '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': '6225779', 'n_tokens_mistral': 1033, 'n_tokens_neox': 1015, 'n_words': 241}