Closed IanBrison closed 5 years ago
when a url has a parameter like a user_id, we should map the value to a variable and pass it to the method of the action. don't just pass the whole parameters
/something/something/:id -> public function show($id) { }
now it's how I just wanted
when a url has a parameter like a user_id, we should map the value to a variable and pass it to the method of the action. don't just pass the whole parameters
/something/something/:id -> public function show($id) { }