0
這是我的代碼:導軌:沒有找到樣式表和圖像
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<%= csrf_meta_tag %>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= stylesheet_link_tag 'blueprint/screen', :media => 'screen' %>
<%= stylesheet_link_tag 'blueprint/print', :media => 'print' %>
<!--[if lt IE 8]><%= stylesheet_link_tag 'blueprint/ie' %><![endif]-->
<%= stylesheet_link_tag 'custom', :media => 'screen' %>
</head>
<body>
<div class="container">
<header>
<%= image_tag("logo.png", :alt => "Sample App", :class => "round") %>
<nav class="round">
<ul>
<li><%= link_to "Home", '#' %></li>
<li><%= link_to "Help", '#' %></li>
<li><%= link_to "Sign in", '#' %></li>
</ul>
</nav>
</header>
<section class="round">
<%= yield %>
</section>
</div>
</body>
</html>
我也將在公共/樣式表的樣式表和圖像在公共/圖像。但是頁面不是用css和圖像呈現的。
我錯過了什麼?
版本的Rails? – 2012-01-27 13:04:13
它是3.2.0。 .... – SuperString 2012-01-27 13:05:06
哇,他們現在達到了3.2?嗯。從3.1開始看起來非常無縫的升級 – Chowlett 2012-01-27 13:25:31