This is a nice little gem. I'm glad it's simple enough that it actually still works despite not being updated in a few years.
I notice that this is hard-coded to only look for files that have a numeric filename. For our use case, we would like to use this to generate a static "maintenance" page that is not used for errors. For the time being, I have worked around it by using 999.html.erb as the filename.
This is a nice little gem. I'm glad it's simple enough that it actually still works despite not being updated in a few years.
I notice that this is hard-coded to only look for files that have a numeric filename. For our use case, we would like to use this to generate a static "maintenance" page that is not used for errors. For the time being, I have worked around it by using
999.html.erbas the filename.