0
我想在我的代码中有不同页面的静态标题。Rails 3页面标题
我该如何解决这个问题,它一直在标题中使用应用程序名称。
我已经试过
1)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Site under construction</title>
</head>
<body>
<p id="notice"><%= notice %></p>
<p>
<b>Title:</b>
<%= @page.title %>
</p>
<%= link_to 'Edit', edit_page_path(@page) %> |
<%= link_to 'Back', pages_path %>
</body>
</html>
这并不工作
我已经试过rails page titles
不工作是有我丢失的东西在这里。