Flowdock
method

routes_for_controller_and_action_and_keys

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Routing::RouteSet
routes_for_controller_and_action_and_keys(controller, action, keys) public

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_controller/routing/route_set.rb, line 474
      def routes_for_controller_and_action_and_keys(controller, action, keys)
        selected = routes.select do |route|
          route.matches_controller_and_action? controller, action
        end
        selected.sort_by do |route|
          (keys - route.significant_keys).length
        end
      end
Register or log in to add new notes.