Fix some wrong urls in doc

The url in the doc is wrong and need change it to the correct

Change-Id: Ifd56d5b9f4e111997779e633b0f484f3cb08e421
This commit is contained in:
tianhui 2018-05-30 17:20:06 +08:00 committed by Ghanshyam Mann
parent f902e0d5d8
commit 098051d224

View File

@ -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.