From dd4bad071db5e7c8423df07afb375d84a0abb8f6 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 23 Jun 2018 21:13:26 +0100 Subject: Add a history view for terraform states And link to this from the mini environment page. --- config/routes.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 55aeab5..ce7b624 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -46,6 +46,11 @@ Rails.application.routes.draw do as: 'terraform_states' ) scope :terraform_http_backend do + get( + '*state_id/history', + to: 'terraform_http_backend#show_history', + as: 'terraform_http_backend_show_history' + ) get( '*state_id/history/*index', to: 'terraform_http_backend#show_by_index', -- cgit v1.2.3