Flowdock
method

assign_controller_names!

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Rails::Generators::ResourceHelpers
assign_controller_names!(name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/resource_helpers.rb, line 44
        def assign_controller_names!(name)
          @controller_name = name
          @controller_class_path = name.include?("/") ? name.split("/") : name.split("::")
          @controller_class_path.map!(&:underscore)
          @controller_file_name = @controller_class_path.pop
        end
Register or log in to add new notes.