Create installation controller with consul details method, add route on routes.rb

This commit is contained in:
Bertocq
2017-12-04 18:17:53 +01:00
parent 516081d109
commit 7339a98b74
2 changed files with 26 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ Rails.application.routes.draw do
get '/welcome', to: 'welcome#welcome'
get '/cuentasegura', to: 'welcome#verification', as: :cuentasegura
get '/consul.json', to: "installation#details"
resources :debates do
member do
post :vote