Skip to content

Why did I need to swap $model and $relation in model relationship controller? #221

Answered by rishpandey
ChaDonSom asked this question in Help
Discussion options

You must be logged in to vote

For anyone looking for the answer to this. One is supposed to extend Orion\Http\Controllers\RelationController (not Controller) for controllers associated with relations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChaDonSom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants