How do I get route resolved value inside the rules method? #832
Unanswered
johnngondi
asked this question in
Q&A
Replies: 1 comment
-
You could try: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this path
[PUT] /steps/{step}
In the controller, the step is resolved from DB and among the fields, it has the
handle_procurement
flag.Inside the rules method of the Data class, I have this:
How can I do that?
I have tried using $this->route('step'), but it is a static method so it ain't working.
Beta Was this translation helpful? Give feedback.
All reactions