added second page, need to change it, also update home page
This commit is contained in:
parent
e856b0ffb8
commit
10d3440646
|
@ -1,4 +1,8 @@
|
||||||
class HomeController < ApplicationController
|
class HomeController < ApplicationController
|
||||||
def index
|
def index
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def about
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<h1>About Us</h1>
|
|
@ -1,3 +1,2 @@
|
||||||
<h1>Home#index</h1>
|
<h1>Home Page</h1>
|
||||||
<p>Hi Mariam. This is me. You should know this as you are sitting next to me.</p>
|
Leaving this blank until we create the other pages!
|
||||||
<p>Boy I have a hard time remembering anything!</p>
|
|
|
@ -1,5 +1,7 @@
|
||||||
Rails.application.routes.draw do
|
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
|
# 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.
|
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
|
||||||
|
|
Loading…
Reference in New Issue