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