Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

better styling on #available_action? docs

  • Loading branch information...
commit 9899f53184bcac6e9d51da0c6fba843bd8e6de01 1 parent 9c2c25c
Sebastian Martinez authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 actionpack/lib/abstract_controller/base.rb
4 actionpack/lib/abstract_controller/base.rb
@@ -133,8 +133,8 @@ def action_methods
133 133 # Returns true if a method for the action is available and
134 134 # can be dispatched, false otherwise.
135 135 #
136   - # Notice that action_methods.include?("foo") may return
137   - # false and available_action?("foo") return true because
  136 + # Notice that <tt>action_methods.include?("foo")</tt> may return
  137 + # false and <tt>available_action?("foo")</tt> returns true because
138 138 # available action consider actions that are also available
139 139 # through other means, for example, implicit render ones.
140 140 def available_action?(action_name)

0 comments on commit 9899f53

Please sign in to comment.
Something went wrong with that request. Please try again.