Tôi đang cố gắng truy cập:tôi không thể phục vụ hình ảnh tĩnh trên Ruby on Rails
http://localhost:3000/images/Header.png
nhưng tôi tiếp tục nhận được lỗi này:
Routing Error
No route matches "/images/Header.png" with {:method=>:get}
Và đây là tuyến đường của tôi:
ActionController::Routing::Routes.draw do |map|
map.resources :worker_antpile_statuses
map.resources :worker_antpiles
map.resources :antcolonies
map.resources :antpiles
map.resources :clients
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
end
tại sao wiki cộng đồng này lại là? – Nate