From 098051d224c39cbfaf2d18318b7f28296102e6b3 Mon Sep 17 00:00:00 2001 From: tianhui Date: Wed, 30 May 2018 17:20:06 +0800 Subject: [PATCH] Fix some wrong urls in doc The url in the doc is wrong and need change it to the correct Change-Id: Ifd56d5b9f4e111997779e633b0f484f3cb08e421 --- doc/source/contributor/api-2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/contributor/api-2.rst b/doc/source/contributor/api-2.rst index 6c041ebade..a5bf639f81 100644 --- a/doc/source/contributor/api-2.rst +++ b/doc/source/contributor/api-2.rst @@ -26,11 +26,11 @@ The interface is a mostly RESTful API. REST stands for Representational State Tr Routing ------- -To map URLs to controllers+actions, OpenStack uses the Routes package, a clone of Rails routes for Python implementations. See http://routes.groovie.org/ for more information. +To map URLs to controllers+actions, OpenStack uses the Routes package, a clone of Rails routes for Python implementations. See http://routes.readthedocs.io/en/latest/ for more information. URLs are mapped to "action" methods on "controller" classes in ``nova/api/openstack/__init__/ApiRouter.__init__`` . -See http://routes.groovie.org/manual.html for all syntax, but you'll probably just need these two: +See http://routes.readthedocs.io/en/latest/modules/mapper.html for all syntax, but you'll probably just need these two: - mapper.connect() lets you map a single URL to a single action on a controller. - mapper.resource() connects many standard URLs to actions on a controller.