阅读背景:

如何在Apache风格的RoR Ruby on Rails应用程序中列出目录和文件?

来源:互联网 

I'm pretty new to RoR, and I have a directory that I would like to list its contents when I put the path of the directory in the URL bar of a web browser. I'm used to Apache where I could just setup a .htaccess file to show the contents of a directory, and have the files within the directory linkable / browseable when browsing the directory. I'm sure there's a similar solution using RoR but I haven't come across one.I'm pretty new to RoR, and I have a directory t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: