1
0
grillo-ruby-neo4j-challenge/config/routes.rb

10 lines
364 B
Ruby

Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
get '/metric/', to: 'metrics#index'
post '/metric/:key', to: 'metrics#create'
get '/metric/:key', to: 'metrics#show'
delete '/metric/:key', to: 'metrics#delete'
# Defines the root path route ("/")
# root "articles#index"
end