diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-06 10:26:13 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-06 10:26:13 -0700 |
commit | fd9df1b1dd1196c2233835e25a6a38956e9e3959 (patch) | |
tree | b472bc3eea701d73eec0df33c96b8a624deba3a7 | |
parent | dd752a5de97d95bf1098e1ef461ff5fcde4d7ee5 (diff) | |
parent | 9899f53184bcac6e9d51da0c6fba843bd8e6de01 (diff) | |
download | rails-fd9df1b1dd1196c2233835e25a6a38956e9e3959.tar.gz rails-fd9df1b1dd1196c2233835e25a6a38956e9e3959.tar.bz2 rails-fd9df1b1dd1196c2233835e25a6a38956e9e3959.zip |
Merge pull request #419 from smartinez87/avail_action
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) |