I'm having some troubles with configuraton of router class. Does
anyone has functional example of how to use these classes?
For example,
when user enters www.example.org/article/45
index.php should call article controller and calls show action.
I was playing with addRoute method, but I'm not getting any
results. .htaccess is well configured, and I'm properly calling
actions with url format 'www.example.or g/controller/action'.
anyone has functional example of how to use these classes?
For example,
when user enters www.example.org/article/45
index.php should call article controller and calls show action.
I was playing with addRoute method, but I'm not getting any
results. .htaccess is well configured, and I'm properly calling
actions with url format 'www.example.or g/controller/action'.
Comment