我有一个Rails 3应用程序(附带Spree 0.40)。
在我的
问题是该助手呈现到
我在路由文件中有
你知道是什么原因导致这种奇怪的行为吗?
谢谢。
在我的
ProductsController
中,index
操作下面有产品列表和will_paginate
助手。问题是该助手呈现到
localhost:3000/?page=x
而不是localhost:3000/products/?page=
x。我在路由文件中有
resources:products
。你知道是什么原因导致这种奇怪的行为吗?
谢谢。