Skip to content
Discussion options

You must be logged in to vote

The issue was that I wasn't inheriting the $rules variable from the parent scope. So like instead of doing this:

CRUD::operation(['create'], function() {

I should have been doing this:

CRUD::operation(['create'], function() use ($rules) {

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@prescriptionlifeline
Comment options

Answer selected by prescriptionlifeline
Comment options

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