diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 95f2992..36c3668 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,4 +1,8 @@ class HomeController < ApplicationController def index end + + def about + end + end diff --git a/app/views/home/about.html.erb b/app/views/home/about.html.erb new file mode 100644 index 0000000..9744b48 --- /dev/null +++ b/app/views/home/about.html.erb @@ -0,0 +1 @@ +

About Us

diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 3899fcd..ed31212 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,3 +1,2 @@ -

Home#index

-

Hi Mariam. This is me. You should know this as you are sitting next to me.

-

Boy I have a hard time remembering anything!

\ No newline at end of file +

Home Page

+Leaving this blank until we create the other pages! \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 457f279..4d84bad 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,7 @@ Rails.application.routes.draw do - get 'home/index' + # get 'home/index' + get 'home/about' + root 'home#index' # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.