```ruby
Rails.application.routes.draw do
  devise_for :users
  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"

  resources :teams
  get 'repositories' => "dashboard#repositories"
  post 'index' => "dashboard#index"
  post 'score' => 'application#score'
  post 'take_snapshot' => "dashboard#take_snapshot"
  post 'change_round' => "dashboard#change_round"
  root 'dashboard#index'


end
```

Fix /index direct access issue
user
```ruby
Rails.application.routes.draw do
  devise_for :users
  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"

  resources :teams
  get 'repositories' => "dashboard#repositories"
  match 'index', to: 'dashboard#index', via: [:get, :post]
  post 'score' => 'application#score'
  post 'take_snapshot' => "dashboard#take_snapshot"
  post 'change_round' => "dashboard#change_round"
  root 'dashboard#index'


end
```
assistant