Not 100% this is on the right board but here goes...
I've set up an 'Articles' dataobject to contain articles that are either whitepapers, news articles or blog posts. I've set up an 'ArticlesHome' page for acting as the home page for the various sections of articles (whitepapers/news/blog), and I've set up an action in this page's controller called 'read'.
On my site, visiting site.com/news/read/article-name/ serves up my article fine, but idealy I would like my URL's to simply be /news/article-name/ or /blog/article-name, without the read method/action in there. Seeing as this page class will serve no other purpose than to 'read' articles is there any way I can set my ArticlesHome_Controller to have a default action, which when passed a parameter simply either serves that page, or throws a 404 if the parameter doesnt exist.
I've looked at routes, but couldnt figure out how to apply them to what I want to do above, and I looked at overriding the init() method but I'm guessing that isn't going to solve my problem either.
Thanks