Flowdock
method

matches_controller_and_action?

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Routing::Route
matches_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.rb, line 101
      def matches_controller_and_action?(controller, action)
        prepare_matching!
        (@controller_requirement.nil? || @controller_requirement === controller) &&
        (@action_requirement.nil? || @action_requirement === action)
      end
Register or log in to add new notes.