APIdock / Ruby on Rails
/
Browse About
method

canonical_action?

v6.1.3.1 - Show latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::Scoping::Resources
canonical_action?(action)
private

No documentation available.

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

Related methods

  • Instance methods
  • collection
  • draw
  • match
  • member
  • namespace
  • nested
  • new
  • resource
  • resources
  • resources_path_names
  • root
  • shallow
  • shallow?
  • Private methods
  • privateaction_options?
  • privateaction_path
  • privateadd_route
  • privateapi_only?
  • privateapply_action_options
  • privateapply_common_behavior_for
  • privatecanonical_action?
  • privatedecomposed_match
  • privateget_to_from_path
  • privatemap_match
  • privatematch_root_route
  • privatename_for_action
  • privatenested_options
  • privatenested_scope?
  • privateparam_constraint
  • privateparam_constraint?
  • privateparent_resource
  • privatepath_for_action
  • privatepath_scope
  • privateprefix_name_for_action
  • privateresource_method_scope?
  • privateresource_scope
  • privateresource_scope?
  • privatescope_action_options
  • privateset_member_mappings_for_resource
  • privateshallow_nesting_depth
  • privateshallow_scope
  • privateusing_match_shorthand?
  • privatewith_scope_level
APIdock API Documentation Browser

© 2026 APIdock