instance method
controller_class_name
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.2.22.5Signature
controller_class_name()
No documentation comment.
Source
# File railties/lib/rails/generators/resource_helpers.rb, line 48
def controller_class_name
@controller_class_name ||= (controller_class_path + [controller_file_name]).map!{ |m| m.camelize }.join('::')
end
Defined in railties/lib/rails/generators/resource_helpers.rb line 48
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ResourceHelpers