Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


better styling on #available_action? docs #419

merged 1 commit into from

2 participants

Sebastian Martinez José Valim
Sebastian Martinez

No description provided.

José Valim josevalim merged commit fd9df1b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 6, 2011
  1. Sebastian Martinez
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/abstract_controller/base.rb
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)
Something went wrong with that request. Please try again.