From e286cb6952b7aacf6484ab8c20c182e3b11a2f1c Mon Sep 17 00:00:00 2001 From: rebuilt Date: Thu, 16 Feb 2023 14:27:27 -0800 Subject: [PATCH] restructure sqm resources and qpa resources --- app/controllers/qpa_resources_controller.rb | 2 + app/controllers/sqm_resources_controller.rb | 2 + app/views/layouts/_nav.html.erb | 4 +- app/views/qpa_resources/index.html.erb | 48 +++++++++++++++++++++ app/views/research/index.html.erb | 1 + app/views/resource/index.html.erb | 14 ++++-- app/views/sqm_resources/index.html.erb | 41 ++++++++++++++++++ config/routes.rb | 8 ++-- 8 files changed, 112 insertions(+), 8 deletions(-) create mode 100644 app/controllers/qpa_resources_controller.rb create mode 100644 app/controllers/sqm_resources_controller.rb create mode 100644 app/views/qpa_resources/index.html.erb create mode 100644 app/views/sqm_resources/index.html.erb diff --git a/app/controllers/qpa_resources_controller.rb b/app/controllers/qpa_resources_controller.rb new file mode 100644 index 0000000..fc95e6c --- /dev/null +++ b/app/controllers/qpa_resources_controller.rb @@ -0,0 +1,2 @@ +class QpaResourcesController < ApplicationController +end diff --git a/app/controllers/sqm_resources_controller.rb b/app/controllers/sqm_resources_controller.rb new file mode 100644 index 0000000..862fc87 --- /dev/null +++ b/app/controllers/sqm_resources_controller.rb @@ -0,0 +1,2 @@ +class SqmResourcesController < ApplicationController +end diff --git a/app/views/layouts/_nav.html.erb b/app/views/layouts/_nav.html.erb index 1b9512e..9677581 100644 --- a/app/views/layouts/_nav.html.erb +++ b/app/views/layouts/_nav.html.erb @@ -22,8 +22,8 @@