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

All _id params are treated as parent resources #238

Open
Linuus opened this issue Sep 15, 2017 · 0 comments
Open

All _id params are treated as parent resources #238

Linuus opened this issue Sep 15, 2017 · 0 comments
Labels

Comments

@Linuus
Copy link
Contributor

Linuus commented Sep 15, 2017

If you add a parameter to a form/url Godmin tries to find a parent resource and scope the resource to that.

  1. We need to check that it is actually a parent
    If you add blorgh_id to the params now it will blow up trying to constantize this string.

  2. If there is an association with this name it will try to scope it, but you may not want to.

@Linuus Linuus added the bug label Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant