I have added the new map.connect in routes.rb like this
but it seems like the cache_pages only create the
controller_name/action_name/id.html file in the public directory.
and I expect the controller_name/action_name/id/page.html
for different id number the rails create a series page number html files
in a directory named with the id.
What should I do?
I have search for a few days and can't find the answer.
Could anyone help me?
Where in your routes.rb file do you have that route? I'm wondering
whether another route is matching first.
Here's what I did to simulate what you've got:
and then connected to:
and I got this file created:
So it should work, which makes me think maybe it's a route ordering