What is the easiest way/most automated way to send data from the URL to the index function of a controller so that other methods still work?
I’d prefers something that doesn’t require me to list out all of my methods. Also, I’d like to avoid messing with routes.php.
The scenario is basically…
class Post extends Controller
{
index($ID)
write()
edit($ID)
etc.
}
