class method
self.controller_class
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.controller_class()
No documentation comment.
Source
# File actionpack/lib/action_controller/test_case.rb, line 114
def controller_class
if current_controller_class = read_inheritable_attribute(:controller_class)
current_controller_class
else
self.controller_class = determine_default_controller_class(name)
end
end
Defined in actionpack/lib/action_controller/test_case.rb line 114
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::TestCase