James Legendre
|
I'm having an issue and I'm not sure how to solve it. I have the following URL example:
http://mysite.com/project/home/2
Where project is the base URL for the site, home is a controller and 2 is a query string parameter that the front controller is capturing. When I use this I get the following URL's generated by Rain.TPL:
http://mysite.com/project/home/home
This URL is not what I'm after. It breaks all style and image includes and all links. I don't want to turn off the URL parser because it's a useful feature, but I need it to ignore parts of the URL that are query strings. I can add them as actual query string parameters (after the ?), but that makes for messy URL's. Do you have any suggestions how I can keep my front controller unchanged and get this to work correctly?
|