I generated a controller and changed the routes but opening the links yields errors on my local server.
Generating controller and routes
match method has been deprecated.
Use get for GET and post for POST.
get
post
get '/about', to: 'static_pages#about'