diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-06 14:23:25 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-06 14:23:25 -0300 |
commit | 9899f53184bcac6e9d51da0c6fba843bd8e6de01 (patch) | |
tree | b02f01491fd574bf01cc8571838b7e78f924562a | |
parent | 9c2c25c1a1343937e96eed81e38ef4f9fb06ce11 (diff) | |
download | rails-9899f53184bcac6e9d51da0c6fba843bd8e6de01.tar.gz rails-9899f53184bcac6e9d51da0c6fba843bd8e6de01.tar.bz2 rails-9899f53184bcac6e9d51da0c6fba843bd8e6de01.zip |
better styling on #available_action? docs
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb index 08a1273a39..f67d0e558e 100644 --- a/actionpack/lib/abstract_controller/base.rb +++ b/actionpack/lib/abstract_controller/base.rb @@ -133,8 +133,8 @@ module AbstractController # Returns true if a method for the action is available and # can be dispatched, false otherwise. # - # Notice that action_methods.include?("foo") may return - # false and available_action?("foo") return true because + # Notice that <tt>action_methods.include?("foo")</tt> may return + # false and <tt>available_action?("foo")</tt> returns true because # available action consider actions that are also available # through other means, for example, implicit render ones. def available_action?(action_name) |