codeforamerica/ohana-web-search

View on GitHub
config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage
Rails.application.routes.draw do
  # The priority is based upon order of creation:
  # first created -> highest priority.
  # See how all your routes lay out with 'rake routes'.

  # Read more about routing: http://guides.rubyonrails.org/routing.html

  root to: 'home#index'
  resources :locations, only: [:index]
  get 'locations/*id/' => 'locations#show', as: 'location'
  get '/about' => 'about#index'
  post '/feedback' => 'feedback#create'
  get '.well-known/status' => 'status#check_status'
end