From 48a6dfac57e1afc8289658947639030c19ba725e Mon Sep 17 00:00:00 2001 From: Alex Basson Date: Tue, 31 Aug 2021 11:06:33 -0400 Subject: [PATCH] REVERT ME: Add /experiments route --- app/controllers/experiments_controller.rb | 5 +++++ app/views/experiments/index.html.haml | 1 + config/routes.rb | 1 + 3 files changed, 7 insertions(+) create mode 100644 app/controllers/experiments_controller.rb create mode 100644 app/views/experiments/index.html.haml diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb new file mode 100644 index 00000000..df67ef9e --- /dev/null +++ b/app/controllers/experiments_controller.rb @@ -0,0 +1,5 @@ +class ExperimentsController < ApplicationController + def index + + end +end \ No newline at end of file diff --git a/app/views/experiments/index.html.haml b/app/views/experiments/index.html.haml new file mode 100644 index 00000000..73ae894e --- /dev/null +++ b/app/views/experiments/index.html.haml @@ -0,0 +1 @@ +%h1 Alex was here diff --git a/config/routes.rb b/config/routes.rb index 451e5d80..1f1a403b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,6 +3,7 @@ Rails.application.routes.draw do resources :questions resources :categories resources :districts + resources :experiments resources :schools do resources :recipient_lists