<commit_before># frozen_string_literal: true

Rails.application.routes.draw do
  mount GraphqlPlayground::Rails::Engine, at: "/graphql/playground", graphql_path: "/graphql"

  root 'application#index'

  post "/graphql", to: "graphql#execute"

  devise_scope :user do
    get "sign_in", to: "devise/sessions#new"
    get "sign_up", to: "devise/registrations#new"
    get "account", to: "devise/registrations#edit"
    get "sign_out", to: "devise/sessions#destroy"
  end

  get "/:team/feed/:rss_token", to: "feed#index"

  match "*path" => redirect("/"), via: :get
end<commit_msg>Add devise route for registrations<commit_after># frozen_string_literal: true

Rails.application.routes.draw do
  mount GraphqlPlayground::Rails::Engine, at: "/graphql/playground", graphql_path: "/graphql"

  root 'application#index'

  post "/graphql", to: "graphql#execute"

  devise_for :users, controllers: {
      registrations: :registrations
  }

  devise_scope :user do
    get "sign_in", to: "devise/sessions#new"
    get "sign_up", to: "devise/registrations#new"
    get "account", to: "devise/registrations#edit"
    get "sign_out", to: "devise/sessions#destroy"
  end

  get "/:team/feed/:rss_token", to: "feed#index"

  match "*path" => redirect("/"), via: :get
end
{'fraction_non_alphanumeric': 0.1518282988871224, 'fraction_numerical': 0.0, 'mean_word_length': 4.748858447488584, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3899110', 'n_tokens_mistral': 453, 'n_tokens_neox': 444, 'n_words': 102}