A
A
Anton2016-05-29 01:23:34
Ruby on Rails
Anton, 2016-05-29 01:23:34

How to access .txt file in root?

There is a .txt file at the root of the domain. It is needed to check the rights on one of the resources.
Worth RoR. When I go to site.ru/file.txt it says: "Routing Error".
What to register in the routing so that it displays the contents of the file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2016-05-29
@hummingbird

The question is stupid. I beg your pardon.
Forgot about the public folder...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question