method

default_actions

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::Scoping::Resources::Resource

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

default_actions(api_only)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1166
            def default_actions(api_only)
              if api_only
                [:index, :create, :show, :update, :destroy]
              else
                [:index, :create, :new, :show, :update, :destroy, :edit]
              end
            end