diff options
Diffstat (limited to 'user_guide/general/routing.html')
-rw-r--r-- | user_guide/general/routing.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user_guide/general/routing.html b/user_guide/general/routing.html index b282e18d8..f3e7995a8 100644 --- a/user_guide/general/routing.html +++ b/user_guide/general/routing.html @@ -60,7 +60,7 @@ URI Routing <p>Typically there is a one-to-one relationship between a URL string and its corresponding controller class/method.
The segments in a URI normally follow this pattern:</p>
-<code>www.your-site.com/<dfn>class</dfn>/<samp>function</samp>/<var>id</var>/</code>
+<code>example.com/<dfn>class</dfn>/<samp>function</samp>/<var>id</var>/</code>
<p>In some instances, however, you may want to remap this relationship so that a different class/function can be called
instead of the one corresponding to the URL.</p>
@@ -68,10 +68,10 @@ instead of the one corresponding to the URL.</p> <p>For example, lets say you want your URLs to have this prototype:</p>
<p>
-www.your-site.com/product/1/<br />
-www.your-site.com/product/2/<br />
-www.your-site.com/product/3/<br />
-www.your-site.com/product/4/
+example.com/product/1/<br />
+example.com/product/2/<br />
+example.com/product/3/<br />
+example.com/product/4/
</p>
<p>Normally the second segment of the URL is reserved for the function name, but in the example above it instead has a product ID.
|