Rails 3.1 make folder to be public

前端 未结 2 1759
独厮守ぢ
独厮守ぢ 2021-01-17 04:54

Hello I\'m new to rails.

In my RoR app folder I have a folder (app/FOLDER) that I want to make public (there are script files that need to avaliable fro

2条回答
  •  难免孤独
    2021-01-17 05:37

    you shouldn't put them in app/FOLDERbut in public/FOLDER, everything going in public/ is public.

    Here's an explaination of all the directories in a rails app : guides.rubyonrails.org

提交回复
热议问题