<commit_before>Enigma::Application.routes.draw do
  require_ssl = !Rails.env.development?
  scope :constraints => require_ssl ? { :protocol => "https" }  : {} do
    resources :events do
      get :scenario, :on=>:member
      resources :fixed_expenses
      resources :delegate_expenses
      resources :tickets do
        put :update_ticket_cost_details, :on=>:collection
      end
      resources :sponsors
    end

    devise_for :users
    root :to=> redirect("/events")

  end

  match "/*path", :to => redirect { |_, request| "https://" + request.host_with_port + request.fullpath } if require_ssl

end<commit_msg>route config<commit_after>Enigma::Application.routes.draw do
  require_ssl = !Rails.env.development?
  scope :constraints => require_ssl ? { :protocol => "https" }  : {} do
    resources :events do
      get :scenario, :on=>:member
      resources :fixed_expenses
      resources :delegate_expenses
      resources :tickets do
        put :update_ticket_cost_details, :on=>:collection
      end
      resources :sponsors
    end

    devise_for :users

  end

  root :to=> redirect("/events")
  match "/*path", :to => redirect { |_, request| "https://" + request.host_with_port + request.fullpath } if require_ssl

end
{'fraction_non_alphanumeric': 0.11945117029862792, 'fraction_numerical': 0.0, 'mean_word_length': 3.335664335664336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '4845040', 'n_tokens_mistral': 386, 'n_tokens_neox': 375, 'n_words': 94}