diff options
author | Xavier Noria <fxn@hashref.com> | 2010-10-01 23:16:05 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-10-02 00:10:32 +0200 |
commit | 542ddd8c891e27278cdac26763b6ff8aadbfdf68 (patch) | |
tree | f856ac01e42746443ab4c4172adc65c555944d3e /railties/guides/source/getting_started.textile | |
parent | 45edeed1ee5148e837ea9680fa0c40e4b151d6d7 (diff) | |
download | rails-542ddd8c891e27278cdac26763b6ff8aadbfdf68.tar.gz rails-542ddd8c891e27278cdac26763b6ff8aadbfdf68.tar.bz2 rails-542ddd8c891e27278cdac26763b6ff8aadbfdf68.zip |
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.)
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r-- | railties/guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 92b9131b59..9eae712a93 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -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;"> |