Rails.application.routes.draw do
  devise_for :users
  root to: "pages#index"
  get "/about", to: "pages#about"
  get "/votingstatistic", to: "pages#statistic"
  get "/profiles", to: "pages#profiles"
  

  resources :candidates
  resources :positions
end
