diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-06-26 19:05:55 +0200 |
commit | ff845f94cc8876bc6c23c2f55b695bc569038512 (patch) | |
tree | 758d7880dabce6b0c89eb79bc11a60699c52b2fb /user_guide/general/routing.html | |
parent | 85f66ea6d2291c77a937305457592e24c85425ae (diff) |
changed your-site.com to example.com doc-wide
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.
|