From 7b7d88316c3f90edce37eb50a13277ea95c6d184 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 13 Jan 2024 18:49:52 -0600 Subject: [PATCH] Bootstrap enabled --- app/controllers/home_controller.rb | 2 +- app/views/home/about.html.erb | 1 - app/views/home/participant.html.erb | 1 + app/views/layouts/application.html.erb | 22 +++++++++++----------- config/routes.rb | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 app/views/home/about.html.erb create mode 100644 app/views/home/participant.html.erb diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 36c3668..85bb293 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -2,7 +2,7 @@ class HomeController < ApplicationController def index end - def about + def participant end end diff --git a/app/views/home/about.html.erb b/app/views/home/about.html.erb deleted file mode 100644 index 9744b48..0000000 --- a/app/views/home/about.html.erb +++ /dev/null @@ -1 +0,0 @@ -

About Us

diff --git a/app/views/home/participant.html.erb b/app/views/home/participant.html.erb new file mode 100644 index 0000000..52d8141 --- /dev/null +++ b/app/views/home/participant.html.erb @@ -0,0 +1 @@ +

Participant

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 815a337..19b28d2 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,16 +1,16 @@ - - + + + + Obdev - - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - - <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %> - <%= javascript_importmap_tags %> + - + + + + <%= yield %> - - + + \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 4d84bad..b697079 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,6 @@ Rails.application.routes.draw do # get 'home/index' - get 'home/about' + get 'home/participant' root 'home#index' # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html