I’m making a website for newspaper.
While implemeting ARCHIVE function, I met a problem.
I expect that “…/main/archive/volume_number” is redirected to
However, there are so many volumes in archives and I can’t make all
controllers manually, each for one volume.
So, in “main” controller, in “archive” method, I want to dynamically
create a controller named volume_number(probably specified by
params[:id]) and redirect to the controller.
Please help =)
If you have another idea for implementing archives, please tell me.
I’m using Mysql and articles are categorized by volume number.