On Wed, May 13, 2009 at 06:57:32PM +0300, Mitko Kostov wrote: > Hi, guys. I have this code : http://gist.github.com/111098 > > Just wonder how can I evaluate the function show_content here ?
Try:
url '/', :index
url '/(\w+)', :show_content
Then if a link goes to '/test', you'll get show_content("test").
_why
