Permalink
Browse files

Merge pull request #419 from smartinez87/avail_action

better styling on #available_action? docs
  • Loading branch information...
2 parents dd752a5 + 9899f53 commit fd9df1b1dd1196c2233835e25a6a38956e9e3959 @josevalim josevalim committed May 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/abstract_controller/base.rb
View
4 actionpack/lib/abstract_controller/base.rb
@@ -133,8 +133,8 @@ def action_methods
# 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)

0 comments on commit fd9df1b

Please sign in to comment.