aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-02-06 16:17:03 +0100
committerXavier Noria <fxn@hashref.com>2010-02-06 16:17:03 +0100
commit8e72fd916ef5ba90e475698857e1b1de2dc2e70e (patch)
tree8efc150da9a68878ba3335ca69ad21046c370032 /actionpack/lib
parentdcfc3b3733d30e8998c2e357f92dbeef5ca77003 (diff)
downloadrails-8e72fd916ef5ba90e475698857e1b1de2dc2e70e.tar.gz
rails-8e72fd916ef5ba90e475698857e1b1de2dc2e70e.tar.bz2
rails-8e72fd916ef5ba90e475698857e1b1de2dc2e70e.zip
revises an example in the rdoc of TextHelper#concat
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index 412e0c82cb..2e02f6637a 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -17,7 +17,7 @@ module ActionView
# concat "hello"
# # is the equivalent of <%= "hello" %>
#
- # if (logged_in == true):
+ # if logged_in
# concat "Logged in!"
# else
# concat link_to('login', :action => login)