> rails g controller StaticPages home help --no-test-framework

config/routes.rb

root  'static_pages#home'

get "static_pages/home"
get "static_pages/help"

app/controllers/static_pages_controller.rb

class StaticPagesController < ApplicationController

  def home
  end

  def help
  end
end