title: Basic Kohana Routing
body: <p>I'm new with Kohana and finding their documentation to be lacking (lots of incomplete writings, lots of broken links, etc.). I just want to create a route like so:</p>
  
  <pre><code>Route::set('test1', 'blah/&lt;id&gt;')
      -&gt;defaults(array(
          'controller' =&gt; 'Blah',
          'action'     =&gt; 'foo',
  ));
  </code></pre>
  
  <p>So if the URL is localhost/blah/8342342 it will run through this controller and action. The problem is I get a 404 error. If I change the URI in the Route::set to be <code>blah/foo/&lt;id&gt;</code> it works fine. I only want the /blah/ directory though, not 'blah/foo'. Is this possible or do you need to have both the controller and action in the URL?</p>
  
  <p>Another question, does the first directory in your URI (in this case /blah) HAVE to match the controller name? For example, if the first directory in the URI is "blah/", does that mean my controller must be named "Blah.php"? From my tests it seems that this is the case, but I don't know why it would be set up that way. What if I wanted the URI "contact/" to go through controller Blah?</p>