method

component_class

rails latest stable - Class: ActionController::Components

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

component_class(options)
private

No documentation available.

# File actionpack/lib/action_controller/components.rb, line 62
      def component_class(options)
        options[:controller] ? (options[:controller].camelize + "Controller").constantize : self.class
      end