Skip to content

Commit

Permalink
better styling on #available_action? docs
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinez87 committed May 6, 2011
1 parent 9c2c25c commit 9899f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/abstract_controller/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9899f53

Please sign in to comment.