aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/abstract/base.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-10 15:27:53 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-10 15:27:53 -0700
commit47ff57f6d14fe161900bf85e2d2cf6d7e21a1eb8 (patch)
tree66027df07caa23ef31a0258a94e45fbe1fcf35d7 /actionpack/lib/action_controller/abstract/base.rb
parent82a10ce9f61a02a97d85915bb5fca53730ae28c8 (diff)
downloadrails-47ff57f6d14fe161900bf85e2d2cf6d7e21a1eb8.tar.gz
rails-47ff57f6d14fe161900bf85e2d2cf6d7e21a1eb8.tar.bz2
rails-47ff57f6d14fe161900bf85e2d2cf6d7e21a1eb8.zip
Document and clean up HideActions and Http
Diffstat (limited to 'actionpack/lib/action_controller/abstract/base.rb')
-rw-r--r--actionpack/lib/action_controller/abstract/base.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/abstract/base.rb b/actionpack/lib/action_controller/abstract/base.rb
index c3daef8759..a19a236ef7 100644
--- a/actionpack/lib/action_controller/abstract/base.rb
+++ b/actionpack/lib/action_controller/abstract/base.rb
@@ -95,11 +95,6 @@ module AbstractController
end
private
- # See AbstractController::Base.action_methods
- def action_methods
- self.class.action_methods
- end
-
# Returns true if the name can be considered an action. This can
# be overridden in subclasses to modify the semantics of what
# can be considered an action.
@@ -110,7 +105,7 @@ module AbstractController
# ==== Returns
# TrueClass, FalseClass
def action_method?(name)
- action_methods.include?(name)
+ self.class.action_methods.include?(name)
end
# Call the action. Override this in a subclass to modify the