içinde eğik çizgi yerine nokta: Ben projects_path(1)
yazarken Oluşturulan URL /projects.1
yerine /projects/1
olanRaylar Ben benim routes.rb olarak URL'ye
get "projects/:category_id" => "projects#index"
. Bunun neden olduğunu biliyor musun? biçimi:
GET /projects/:category_id(.:format) projects#index
olası yinelenen (http://stackoverflow.com/questions/14033853/rails-creating-malformed-routes-with-dots) http – inye
yinelenen istiyorum .com/questions/5674116/path-helpers-generate-paths-with-dots-eğik çizgi-of-of-of-of-kiremit –
Olası çoğaltılabilir [Yol yardımcıları eğik çizgi yerine nokta yollar oluşturur] (https://stackoverflow.com/questions/ 5674116/path-helpers-generate-paths-ile-noktalar yerine-eğik çizgi) –