diff --git a/app/controllers/tests_controller.rb b/app/controllers/tests_controller.rb index 1526a689..6e969564 100644 --- a/app/controllers/tests_controller.rb +++ b/app/controllers/tests_controller.rb @@ -8,4 +8,8 @@ def create end + def show + render plain: params[:id] + end + end diff --git a/app/views/tests/index.html.erb b/app/views/tests/index.html.erb index 39fce580..0915cef4 100644 --- a/app/views/tests/index.html.erb +++ b/app/views/tests/index.html.erb @@ -9,4 +9,4 @@
<%= @time %>