<commit_before>Rails.application.routes.draw do
  devise_for :users, skip: [:session,:password,:registration]

  root 'application#index'

  mount SabisuRails::Engine => "/sabisu_rails"
  devise_for :admin_users, ActiveAdmin::Devise.config
  ActiveAdmin.routes(self)

  namespace :api, defaults: { format: :json } do
    # TODO: enforce namespace / versioning: constraints: ApiConstraints.new(version: 1, default: true)
    namespace :v1 do
      resources :users, :only => [:show, :create, :update], param: :auth_token do
        resources :organization, :only => [:show, :create, :update, :destroy]
      end
      resources :donor, :only => [:show]
      namespace :donor do
        resources :donations, :only => [:show, :create, :update, :destroy]
      end
      namespace :driver do
        resources :donations, :only => [:index, :show, :create, :update]
      end
      resources :donations, :only => [:show, :index, :update]
      get 'pending_donations' => 'donationspending#index'
      resources :sessions, :only => [:create, :destroy]
    end
  end
end
<commit_msg>Fix: change donations_pending to donationspending<commit_after>Rails.application.routes.draw do
  devise_for :users, skip: [:session,:password,:registration]

  root 'application#index'

  mount SabisuRails::Engine => "/sabisu_rails"
  devise_for :admin_users, ActiveAdmin::Devise.config
  ActiveAdmin.routes(self)

  namespace :api, defaults: { format: :json } do
    # TODO: enforce namespace / versioning: constraints: ApiConstraints.new(version: 1, default: true)
    namespace :v1 do
      resources :users, :only => [:show, :create, :update], param: :auth_token do
        resources :organization, :only => [:show, :create, :update, :destroy]
      end
      resources :donor, :only => [:show]
      namespace :donor do
        resources :donations, :only => [:show, :create, :update, :destroy]
      end
      namespace :driver do
        resources :donations, :only => [:index, :show, :create, :update]
      end
      resources :donations, :only => [:show, :index, :update]
      get 'donationspending' => 'donationspending#index'
      resources :sessions, :only => [:create, :destroy]
    end
  end
end

{'fraction_non_alphanumeric': 0.13634290925672596, 'fraction_numerical': 0.001823985408116735, 'mean_word_length': 3.7799564270152506, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '2307280', 'n_tokens_mistral': 690, 'n_tokens_neox': 677, 'n_words': 190}