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

Update Collection such that models created by a Collection have model urlRoot == collection.url #3946

Closed

Conversation

sgpinkus
Copy link
Contributor

@sgpinkus sgpinkus commented Feb 1, 2016

Minor change. refs #3944. rootUrl can now be set at Model.initialize() to allow Collection created models, or models gained via add() with no urlRoot set, to have their urlRoot set to collection.url. The rationale for this is explained in #3944. Please refer to that issue.

….urlRoot = collection.url iff the Model does not specify a urlRoot.
@sgpinkus sgpinkus force-pushed the fix/collectionfactorysetmodelurl branch from b7f9e6c to 5dc5ad3 Compare February 2, 2016 23:13
@megawac megawac mentioned this pull request May 6, 2016
@jashkenas jashkenas closed this Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants