1

我刚刚发现assets/images当我生成 Rails 4 应用程序(目前是 Rails 4 rc1)时没有默认目录。而在 Rails 3.1/3.2 中生成。请告诉我为什么会这样?我的意思是我可以在一秒钟内创建一个目录,但这不是重点。如果我在任何公告中没有得到这个原因,我很抱歉,否则对我来说毫无意义。谢谢

4

1 回答 1

1

Just found out myself that there's no index.html in public any more either because it's done dynamically in Rails 4 there's no image anymore, so the directory might not get generated any longer generate 'app/assets/images' directory when creating new rails app

于 2013-05-30T12:31:09.127 回答