我有以下观点
app/views/people/index.html.erb
和布局app /views/layout/application.html.erb
application.html.erb
<link href="/assets/all.css" media="screen" rel="stylesheet" type="text/css" />
<script src="/assets/defaults.js" type="text/javascript"></script>
但是当我去localserver:3000/people
public / stylesheets
文件夹的样式未应用
源代码localserver:3000 / people
<link href="/assets/all.css" media="screen" rel="stylesheet" type="text/css" />
<script src="/assets/defaults.js" type="text/javascript"></script>