aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/layout.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-12-31 19:28:28 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-12-31 19:28:28 +0000
commit7ed793076907cbb89b028a24cf01f18f9be7869d (patch)
tree4c0c16fb42b1bf87f8e34123f8ed6eb91e0923a8 /actionpack/lib/action_controller/layout.rb
parent91b71ed30cc1c075860c1a098bab5603c3f90178 (diff)
downloadrails-7ed793076907cbb89b028a24cf01f18f9be7869d.tar.gz
rails-7ed793076907cbb89b028a24cf01f18f9be7869d.tar.bz2
rails-7ed793076907cbb89b028a24cf01f18f9be7869d.zip
Make RDoc not spew errors on install because of HTML comments in code comments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/layout.rb')
-rw-r--r--actionpack/lib/action_controller/layout.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/layout.rb b/actionpack/lib/action_controller/layout.rb
index 0d0a843e33..82c7180a52 100644
--- a/actionpack/lib/action_controller/layout.rb
+++ b/actionpack/lib/action_controller/layout.rb
@@ -27,9 +27,9 @@ module ActionController #:nodoc:
# With layouts, you can flip it around and have the common structure know where to insert changing content. This means
# that the header and footer are only mentioned in one place, like this:
#
- # <!-- The header part of this layout -->
+ # // The header part of this layout
# <%= yield %>
- # <!-- The footer part of this layout -->
+ # // The footer part of this layout -->
#
# And then you have content pages that look like this:
#
@@ -38,9 +38,9 @@ module ActionController #:nodoc:
# Not a word about common structures. At rendering time, the content page is computed and then inserted in the layout,
# like this:
#
- # <!-- The header part of this layout -->
+ # // The header part of this layout
# hello world
- # <!-- The footer part of this layout -->
+ # // The footer part of this layout -->
#
# == Accessing shared variables
#