You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use will_paginate extensively in our application (an asset management and trouble ticketing tool)
It works pretty nice, except for an app called workorders where the next and previous links in index.html.erb are broken. In particular link are of the type http://1.2.3.4/workorders/index/? and params following
The correct link is without the /index/
I made a workaround by creating the next-previous links myself in the index view and using the :next_label and :previous_label parameters to pass the links to will_paginate:
Can I see your routes definitions related to "workorders"? Also I'd like to know where in the routes file is the default route (the one generated with Rails, which handles all controllers/actions)
Another question: I'm guessing that this pagination is rendered during the "views/workorders/index.html" template, right?
ruby 1.8 - rails 2.3.8 - will_paginate 2.3.15
We use will_paginate extensively in our application (an asset management and trouble ticketing tool)
It works pretty nice, except for an app called workorders where the next and previous links in index.html.erb are broken. In particular link are of the type http://1.2.3.4/workorders/index/? and params following
The correct link is without the /index/
I made a workaround by creating the next-previous links myself in the index view and using the :next_label and :previous_label parameters to pass the links to will_paginate:
In the controller the call to will_paginate is:
The text was updated successfully, but these errors were encountered: