instance method applicable_actions_for

Ruby on Rails 8.1.2

Since v8.0.4 Private — implementation detail, not part of the public API

Available in: v8.0.4 v8.1.2

Signature

applicable_actions_for(method)

No documentation comment.

Parameters

method req
Source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1982
          def applicable_actions_for(method)
            case method
            when :resource
              SingletonResource.default_actions(api_only?)
            when :resources
              Resource.default_actions(api_only?)
            end
          end

Defined in actionpack/lib/action_dispatch/routing/mapper.rb line 1982 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Routing::Mapper::Resources

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close