How to propoerly use Category model? #614
NowakAdmin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i try to use this example no 3 of:
https://github.com/corcel/corcel#cats
but there is no model "Catergory" in this package or I can't find it.
I 've tried to change to "Taxonomy" or other classes but some methods were missing.
I tried:
But nothing works, also my VisualStudio have no advices for me there. So I tried to achieve same results using other way:
But it gives error:
Property [posts] does not exist on this collection instance.It's probably my missunderstanding of how eloquent collection works or objects itself...
Or i need to make own model to handle it?
I also have a clue that probably I need to add something in config around:
Help me please.
Beta Was this translation helpful? Give feedback.
All reactions