Hi,
I have a TG app with following *controllers*:
- RootController
- MediaController
- News Controller
In the RootController i have added subcontroller as *media*
=MediaController()
In MediaController i have added *news*=NewsController()
NewsController is having an index() method with a parameter named 'url'
The NewsController()->index() page is displaying when the following URLs
are invoked
- http://localhost:8080/media/news/
- http://localhost:8080/media/news/index*/<value-of-url-param>*
- http://localhost:8080/media/news/index*?url=<value-of-url-param>*
- http://localhost:8080/media/news*?url=<value-of-url-param>*
But the following URL shows a* 404 error*
- http://localhost:8080/media/news*/<value-of-url-param>*
I am expecting *this should display the same result* as of the URL
http://localhost:8080/media/news*/index/<value-of-url-param>*
What is happening while removing *index *from URL?
What is the solution?
Regards,
Raj
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.