Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

ResourceController default resourceUrl #13

Closed
thalisvilela opened this issue Apr 2, 2012 · 3 comments
Closed

ResourceController default resourceUrl #13

thalisvilela opened this issue Apr 2, 2012 · 3 comments

Comments

@thalisvilela
Copy link

The ResourceController objects can only access it's default resourceUrl (resourceType object's resourceUrl) only if the resourceType object is created, don't work if its just extended, otherwise, i have to define it manualy in the ResourceController object. Its the intended behavior?

@dgeb
Copy link
Member

dgeb commented Apr 2, 2012

No, that seems to be a bug. There's a test for the expected behavior, but I can only reproduce the problem when I run the test in isolation (which makes sense, given the nature of the bug).

Thanks for reporting this.

@dgeb
Copy link
Member

dgeb commented Apr 3, 2012

@thalisvilela I just fixed this in v0.1.1. The ResourceController will now retrieve retrieve resourceUrl from an associated resourceType, regardless of whether a resource of that type has been instantiated yet.

@dgeb dgeb closed this as completed Apr 3, 2012
@thalisvilela
Copy link
Author

Thank you very much! I'll fork it right now!

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

No branches or pull requests

2 participants