aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-03-14 10:11:55 +1300
committerPhilip Arndt <parndt@gmail.com>2012-03-14 10:11:55 +1300
commit9e8a938047c5a93d78d7aaee509b0e13cdae4861 (patch)
treea115dd76eb3d52b9a02f6f576a87353b2602538b
parent447d87c206ff70046b15be99e73ec79690687bb9 (diff)
downloadrails-9e8a938047c5a93d78d7aaee509b0e13cdae4861.tar.gz
rails-9e8a938047c5a93d78d7aaee509b0e13cdae4861.tar.bz2
rails-9e8a938047c5a93d78d7aaee509b0e13cdae4861.zip
Added missing end to example
-rw-r--r--actionpack/lib/abstract_controller/layouts.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/layouts.rb b/actionpack/lib/abstract_controller/layouts.rb
index 92e93cbee7..c9f0b4c95d 100644
--- a/actionpack/lib/abstract_controller/layouts.rb
+++ b/actionpack/lib/abstract_controller/layouts.rb
@@ -120,6 +120,7 @@ module AbstractController
# def writers_and_readers
# logged_in? ? "writer_layout" : "reader_layout"
# end
+ # end
#
# Now when a new request for the index action is processed, the layout will vary depending on whether the person accessing
# is logged in or not.