method

canonical_action?

rails latest stable - Class: ActionDispatch::Routing::Mapper::Resources

Method deprecated or moved

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

canonical_action?(action, flag)
protected

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1571
          def canonical_action?(action, flag) #:nodoc:
            flag && resource_method_scope? && CANONICAL_ACTIONS.include?(action.to_s)
          end