method

routes_by_controller

rails latest stable - Class: ActionController::Routing::RouteSet

Method deprecated or moved

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

routes_by_controller()
public

No documentation available.

# File actionpack/lib/action_controller/routing/route_set.rb, line 453
      def routes_by_controller
        @routes_by_controller ||= Hash.new do |controller_hash, controller|
          controller_hash[controller] = Hash.new do |action_hash, action|
            action_hash[action] = Hash.new do |key_hash, keys|
              key_hash[keys] = [
                routes_for_controller_and_action_and_keys(controller, action, keys),
                deprecated_routes_for_controller_and_action_and_keys(controller, action, keys)
              ]
            end
          end
        end
      end