Categories
How to get url parameters?
Hello. Do I have a put route of this kind, /entity/<id>how can I get this id using the request object?
/entity/<id>
Answer the question
In order to leave comments, you need to log in
Yuzai - Request::segment(1)
request()->route()->parameter('id')
request()->id
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question