First off please forgive me if this has been asked a thousand times. I
have searched google without any luck. Basically what I would like to
do is output the url with an html extension. Maybe an example would
help. If I have in my controller:
def index
some stuff
end
I would get something like http://mysite/index
I would like to convert is somehow to http://mysite/index.html
Is there a way to do this easily like with a rewrite rule in .htaccess
or maybe some configuration in routes.rb ?