Router
Rails 风格的路由。
Routes - 默认配置的路由
参考 说明:
HTTP Verb
Path
Controller#Action
Used for
GET
/photos
photos#index
display a list of all photos
GET
/photos/new
photos#new
return an HTML form for creating a new photo
POST
/photos
photos#create
create a new photo
GET
/photos/:id
photos#show
display a specific photo
GET
/photos/:id/edit
photos#edit
return an HTML form for editing a photo
PATCH
/photos/:
评论0
最新资源