Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Requires use of fallback route #295

Closed
maletor opened this Issue · 1 comment

2 participants

Ellis Berner Mislav Marohnić
Ellis Berner

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 Marohnić
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.

Ellis Berner maletor closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.