[typo] Permalink Structure
facedown at mac.com
Thu Dec 1 20:54:49 EST 2005
I've been playing with routes.rb. I've figured out how to get my old
feed links to work with the following:
map.xml 'feed/', :controller => 'xml', :action => 'rss'
That does a fine job of parsing domain.tld/feed/ to the rss feed. I'm
having a little more trouble with the article permalink. The biggest
problem is that I don't know this language, at all. I'm trying to
make sense of it from everything else that I'm reading in the file,
but without any luck, so far. I'm not even sure I have the right
"variable" tags in play. What I'd like to do is something like:
:controller => 'articles', :action => 'permalink'
Can someone tell me if I'm even close with this?
On Dec 1, 2005, at 4:49 PM, Jason Bainbridge wrote:
> Have a look at config/routes.rb and then I think you will be able
> tofigure it out. ;)
> I haven't had the time yet myself to work it all out but it
> lookslogical enough.
> Cheers,--Jason BainbridgeAn Aussie geek stuck in Texas - http://
> jasonbainbridge.comAdvertisement free blogs for those affected by
> emergency situations -http://911blogs.com
> Typo-list mailing list
> Typo-list at rubyforge.org
More information about the Typo-list