持续开发
配置首页路由
Rails.application.routes.draw do
root to: "posts#index"
resources :posts
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
end$ git add config/routes.rb
$ git commit -m "Add root route"
$ git push origin master
$ cap production deployLast updated