aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/base.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-04-02 23:45:07 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-04-02 23:47:50 -0300
commitcc58fe79ac6f4d5fd54a39ff6e7f087c6a04fee8 (patch)
tree3316760e48494d875b8d957ea08a0b12f313f71d /actionpack/lib/abstract_controller/base.rb
parent99da42c29944beed0cb9e892ae90bfeb2590c57e (diff)
downloadrails-cc58fe79ac6f4d5fd54a39ff6e7f087c6a04fee8.tar.gz
rails-cc58fe79ac6f4d5fd54a39ff6e7f087c6a04fee8.tar.bz2
rails-cc58fe79ac6f4d5fd54a39ff6e7f087c6a04fee8.zip
Implicit actions named not_implemented can be rendered
Diffstat (limited to 'actionpack/lib/abstract_controller/base.rb')
-rw-r--r--actionpack/lib/abstract_controller/base.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index 07ff5ad9f3..0951267fea 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -1,3 +1,4 @@
+require 'erubis'
require 'active_support/configurable'
require 'active_support/descendants_tracker'
require 'active_support/core_ext/module/anonymous'
@@ -18,6 +19,7 @@ module AbstractController
include ActiveSupport::Configurable
extend ActiveSupport::DescendantsTracker
+ undef_method :not_implemented
class << self
attr_reader :abstract
alias_method :abstract?, :abstract