Add a Static Pages controller

parent 6d508abe
Pipeline #1214 canceled with stages
in 0 seconds
Rails.application.routes.draw do
#get 'static_pages/home'
#get 'static_pages/help'
match "/home", to: "static_pages#home", via:"get"
match "/help", to: "static_pages#help", via:"get"
root 'application#hello'
get 'static_pages/home'
get 'static_pages/help'
root 'static_pages#home'
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment