Suppose I have an example.txt file that is located in my resources / files folder in my Rails application. In production, I can access this file through the url '/assets/example.txt'
How can I configure the routes.rb file so that I can access the contents of example.txt when I just find "example.txt"?
jyli7 source share