Displaying 1 result from an estimated 1 matches for "filmname".
Did you mean:
filename
2006 Mar 29
0
routes and caching
...index.html)
map.connect ''films/:film_title/:page'',
:controller => ''films'',
:action => ''show'',
:page => ''index.html''
which will pick up URLs like this:
/films/filmname/
/films/filmname/index.html
/films/filmname/biography.html
defaulting to index.html when no :page is specified.
I know this route is being picked up and rendered properly, but when I try and cache it I can''t get it to save the /films/filmname/ as /films/filmname/index.html, instead I alwa...