```ruby
BikeChallenge::Application.routes.draw do

  resources :rides

  resources :teams do
    member do
      get :join, :leave
    end
  end

  resources :competitions do
    #resources :business_sizes
    resources :competitions_teams do
      get :delete, :on => :collection
      post :remove, :on => :collection
    end
  end

  match "home" => "home#index", as: :home

  root :to => "home#index"

  devise_for :users

  resources :users, :only => [:show, :index]
end
```

Fix admin business size form
user
```ruby
BikeChallenge::Application.routes.draw do

  resources :rides

  resources :teams do
    member do
      get :join, :leave
    end
  end

  resources :competitions do
    resources :business_sizes
    resources :competitions_teams do
      get :delete, :on => :collection
      post :remove, :on => :collection
    end
  end

  match "home" => "home#index", as: :home

  root :to => "home#index"

  devise_for :users

  resources :users, :only => [:show, :index]
end
```
assistant