Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(new | edit)_polymorphic_path add to query string #17057

Closed
eval opened this issue Sep 25, 2014 · 0 comments · Fixed by #17058
Closed

(new | edit)_polymorphic_path add to query string #17057

eval opened this issue Sep 25, 2014 · 0 comments · Fixed by #17058

Comments

@eval
Copy link
Contributor

eval commented Sep 25, 2014

Steps to reproduce

# on console
include Rails.application.routes.url_helpers
new_polymorphic_path(User.new)
# => "/users/new?routing_type=path"
edit_polymorphic_path(User.first)
# => => "/users/1/edit?routing_type=path"

Observed: routing_type=path gets added to the query string.
Expected: I expect it to not be there.

PR upcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant