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