Add a Static Pages controller

parent 8ab63870
Pipeline #1209 canceled with stages
in 0 seconds
class StaticPagesController < ApplicationController
def home
end
def help
......
Rails.application.routes.draw do
get 'static_pages/home'
get 'static_pages/help'
get 'static_pages#hom'
get 'static_pages#help'
root 'application#hello'
# 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