Flowdock
method

routes_for_controller_and_action

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - 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_for_controller_and_action(controller, action) 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 475
      def routes_for_controller_and_action(controller, action)
        ActiveSupport::Deprecation.warn "routes_for_controller_and_action() has been deprecated. Please use routes_for()"
        selected = routes.select do |route|
          route.matches_controller_and_action? controller, action
        end
        (selected.length == routes.length) ? routes : selected
      end
Register or log in to add new notes.