9 lines
323 B
Ruby
9 lines
323 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'
|
|
delete '/metric/:key', to: 'metrics#delete'
|
|
# Defines the root path route ("/")
|
|
# root "articles#index"
|
|
end
|