[Cppcms-users] question about mapper
Brought to you by:
artyom-beilis
|
From: Leon <le...@wl...> - 2012-01-18 10:51:55
|
In the url_mapping example, the mapping is done with the following code:
mapper().assign("number","/number/{1}");
Here the key is "number".
Later, a url is constructed with: url("/number",1)
Here the key is "/number".
My question is that why the key parameter passed to url(...) is
"/number" not "number"?
Thanks in advance.
Best regards.
|