<commit_before>Rails.application.routes.draw do

  # devise_for :users

  # devise_scope :user do
  #   post 'admin', to: 'devise/sessions#new', as: :new_user_session
  #   post 'admin', to: ' devise/sessions#create', as: :user_session
  #   delete 'admin', to: 'devise/sessions#destroy', as: :destroy_user_session
  # end


  devise_for :users,  skip: [ :registrations, :password ],
                      :path => '',
                      :path_names => {:sign_in => 'login', :sign_out => 'logout'}

  # devise_scope :user do
  #   resource(:session ),
  #     only: [:edit, :update],
  #     path: 'users',
  #     path_names: { new: 'sign_up' },
  #     controller: 'devise/registrations',
  #     as: :user_registration do
  #     get :cancel
  #   end
  # end

  # ToDo: change path name to edit_date
  get 'shows/:show_id/dates/edit' => 'showdates#edit', as: :show_date
  patch 'shows/:show_id/dates/update' => 'showdates#update', as: :update_show_date
  get 'shows/:show_id/dates/new' => 'showdates#new', as: :new_show_date
  post 'shows/:show_id/dates/create' => 'showdates#create', as: :create_show_date
  delete 'shows/:show_id/dates/destroy' => 'showdates#destroy', as: :destroy_show_date

  get 'shows/:show_id/prices/edit' => 'show_prices#edit', as: :show_price<commit_msg>routes cleanup<commit_after>Rails.application.routes.draw do

  devise_for :users,  skip: [ :registrations, :password ],
                      :path => '',
                      :path_names => {:sign_in => 'login', :sign_out => 'logout'}

  # ToDo: change path name to edit_date
  get 'shows/:show_id/dates/edit' => 'showdates#edit', as: :show_date
  patch 'shows/:show_id/dates/update' => 'showdates#update', as: :update_show_date
  get 'shows/:show_id/dates/new' => 'showdates#new', as: :new_show_date
  post 'shows/:show_id/dates/create' => 'showdates#create', as: :create_show_date
  delete 'shows/:show_id/dates/destroy' => 'showdates#destroy', as: :destroy_show_date

  get 'shows/:show_id/prices/edit' => 'show_prices#edit', as: :show_price
{'fraction_non_alphanumeric': 0.16125860373647985, 'fraction_numerical': 0.0, 'mean_word_length': 3.67816091954023, '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': '7082098', 'n_tokens_mistral': 739, 'n_tokens_neox': 732, 'n_words': 143}