aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_view_overview.textile
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2012-08-02 14:20:49 -0400
committerPrem Sichanugrist <s@sikachu.com>2012-08-02 14:20:49 -0400
commitf8d1b52a4ffe56b8c6652b9cb0b7e9f8027fc05a (patch)
treef6f961b6825da56f4d8b718380bf4df4b970bbd4 /guides/source/action_view_overview.textile
parenteb66eadfc627cbe6bfebdff7d5a1dfb01f00cd21 (diff)
downloadrails-f8d1b52a4ffe56b8c6652b9cb0b7e9f8027fc05a.tar.gz
rails-f8d1b52a4ffe56b8c6652b9cb0b7e9f8027fc05a.tar.bz2
rails-f8d1b52a4ffe56b8c6652b9cb0b7e9f8027fc05a.zip
Audit the usage of the word "JavaScript"
Diffstat (limited to 'guides/source/action_view_overview.textile')
-rw-r--r--guides/source/action_view_overview.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.textile b/guides/source/action_view_overview.textile
index fdfa97effa..1fd98a5bbe 100644
--- a/guides/source/action_view_overview.textile
+++ b/guides/source/action_view_overview.textile
@@ -785,7 +785,7 @@ h5. content_for
Calling +content_for+ stores a block of markup in an identifier for later use. You can make subsequent calls to the stored content in other templates or the layout by passing the identifier as an argument to +yield+.
-For example, let's say we have a standard application layout, but also a special page that requires certain Javascript that the rest of the site doesn't need. We can use +content_for+ to include this Javascript on our special page without fattening up the rest of the site.
+For example, let's say we have a standard application layout, but also a special page that requires certain JavaScript that the rest of the site doesn't need. We can use +content_for+ to include this JavaScript on our special page without fattening up the rest of the site.
*app/views/layouts/application.html.erb*