0

我该怎么做才能消除正在发生的双重密码?

在 about.html.erb 我有以下代码:

<!DOCTYPE html>
<html>
<head>
    <title>Ruby on Rails Tutorial Sample App | <%= @title %></title>
</head>
<body>
    <h1>Pages#about</h1>
    <p>Find me in app/views/pages/about.html.erb</p>
</body>
</html>

在 localhost:3000/pages/about 的浏览器中

<!DOCTYPE html>
<html>
<head>
  <title>SampleApp</title>
  <link href="/stylesheets/application.css" media="all" rel="stylesheet" type="text/css" />
  <script src="/javascripts/application.js" type="text/javascript"></script>
  <meta content="authenticity_token" name="csrf-param" />
<meta content="ra/NXpqBo1ccudzQ2HGHoo3OrZB2bLX732MQl+EJHU4=" name="csrf-token" />
</head>
<body>

<!DOCTYPE html>
<html>
<head>
    <title>Ruby on Rails Tutorial Sample App | About</title>
</head>
<body>
    <h1>Pages#about</h1>
    <p>Find me in app/views/pages/about.html.erb</p>
</body>
</html>

</body>
</html>
4

1 回答 1

0

副本是 app/views/layouts/application.html.erb 的一部分

于 2012-12-19T08:37:17.973 回答