aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 55aeab5..ce7b624 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -47,6 +47,11 @@ Rails.application.routes.draw do
)
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',
as: 'terraform_http_backend_show_by_index'