10 lines
353 B
Ruby
10 lines
353 B
Ruby
Rails.application.routes.draw do
|
|
root "page#index"
|
|
|
|
post "/new", to: "instance#create", as: :new_instance
|
|
get "/:public_id", to: "instance#show", as: :show_instance
|
|
post "/pop", to: "instance#pop", as: :pop_in_instance
|
|
post "/reset", to: "instance#reset", as: :reset_in_instance
|
|
|
|
get "up" => "rails/health#show", as: :rails_health_check
|
|
end
|