Requires use of fallback route #295

Closed
maletor opened this Issue Feb 15, 2013 · 1 comment

Projects

None yet

2 participants

@maletor

When I removed the default route from my application

match '/:controller(/:action(/:id))'

my custom routes that use will_paginate @foos, params: { controller: 'value', action: 'foo' } stopped working and picked random routes from my routes file and passed controller and action as URL parameters.

@mislav
Owner

This is likely a routing issue in your app than a will_paginate bug.

First, you didn't tell which version of Rails. Next, version of will_paginate. After that, you could share your relevant routes from the route file after you removed the default route. Finally, you should provide us more detail about which URLs did you expect for your will_paginate invocation, and which you got instead.

@maletor maletor closed this Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment