instance method controller_class_for_path_parameters

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

controller_class_for_path_parameters(parameters)

No documentation comment.

Parameters

parameters req
Source
# File actionpack/lib/action_dispatch/http/parameters.rb, line 92
        def controller_class_for_path_parameters(parameters)
          controller = parameters[:controller]
          controller_class_for(controller) if controller&.valid_encoding?
        rescue MissingController
          nil
        end

Defined in actionpack/lib/action_dispatch/http/parameters.rb line 92 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Http::Parameters

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close