75. 操作 HTTP URL Rails 对应
请求 Action
查看列表 Get http://my/posts index
查看id=2的帖子 Get http://my/posts/2 show
新建贴子 Get http://my/posts/new new
保存帖子 Post http://my/posts create
修改id=2的帖子 Get http://my/posts/2 edit
保存修改 Update http://my/posts/2 update
删除id=2的帖子 Delete http://my/posts/2 Destroy