use controller command

Apply rails generate controller pages, modify app/views/pages, modify config/routes.db
use controller command

Apply rails generate controller pages, modify app/views/pages, modify config/routes.db