method

controller_reference

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::RouteSet::Dispatcher
controller_reference(controller_param) private

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/routing/route_set.rb, line 62
        def controller_reference(controller_param)
          controller_name = "#{controller_param.camelize}Controller"

          unless controller = @controllers[controller_param]
            controller = @controllers[controller_param] =
              ActiveSupport::Dependencies.reference(controller_name)
          end
          controller.get(controller_name)
        end
Register or log in to add new notes.