method
default_actions
v6.1.3.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Mapping::Scoping::Resources::Resource
default_actions()public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1179
def default_actions
if @api_only
[:index, :create, :show, :update, :destroy]
else
[:index, :create, :new, :show, :update, :destroy, :edit]
end
end