14
Trong routes.rb của tôi, tôi có:Tài Giới hạn hành động
resources :countries do
resources :cities
end
Nhưng tôi chỉ muốn:
new: GET /countries/:id/cities/new
create: POST /countries/:id/cities
Và không phải là 7 hành động.
Tôi có thể làm gì?