Searched refs:add_route (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/third_party/WebOb/docs/ |
D | do-it-yourself.txt | 125 app.add_route('/', controller='controllers:index') 126 app.add_route('/{year:\d\d\d\d}/', 128 app.add_route('/{year:\d\d\d\d}/{month:\d\d}/', 130 app.add_route('/{year:\d\d\d\d}/{month:\d\d}/{slug}', 132 app.add_route('/post', controller='controllers:post') 220 Now, the ``Router`` class. The class has the ``add_route`` method, and also a ``__call__`` method.… 231 ... def add_route(self, template, controller, **vars): 250 **line 8, 9**: We will allow you to call ``add_route`` with a string (that will be imported) or a c… 260 **line 19**: We also add in any explicit variables passed in through ``add_route()``. 331 >>> hello_world.add_route('/', controller=hello) [all …]
|
/external/iputils/ |
D | rdisc.c | 96 static void add_route(struct in_addr addr); 1370 add_route(tp->router); in age_table() 1437 add_route(tp->router); in record_router() 1452 add_route(tp->router); in record_router() 1474 add_route(struct in_addr addr) in add_route() function
|