brings csrf_meta_tags back to the generated layout

After more discussion, it has be agreed that this kind
of changes within reasonable margins are OK for 3.1.
That is, it is fine to change a little bit the generators
even if that means examples in existing books won't be
exact. (Note that the singular csrf_meta_tag exists as an
alias and thus those outdated examples will run, same for
existing applications.)
This commit is contained in:
Xavier Noria 2010-10-01 23:16:05 +02:00
parent 45edeed1ee
commit 542ddd8c89
2 changed files with 2 additions and 2 deletions

@ -559,7 +559,7 @@ The view is only part of the story of how HTML is displayed in your web browser.
<title>Blog</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
<%= csrf_meta_tags %>
</head>
<body style="background: #EEEEEE;">

@ -4,7 +4,7 @@
<title><%= app_const_base %></title>
<%%= stylesheet_link_tag :all %>
<%%= javascript_include_tag :defaults %>
<%%= csrf_meta_tag %>
<%%= csrf_meta_tags %>
</head>
<body>