title: CodeIgniter: Simple URL routing question
body: <p>I'm new to CI and URI routing in general.</p>
  
  <p>I created a new app. Set the default controller to <code>Main</code>. In <code>Main</code>, I have an <code>index</code> method, a <code>popular</code> method and a <code>recent</code> method.</p>
  
  <p>When I load my app, the url shows up as <code>http://localhost/myapp</code>... this obviously loads up the <code>index</code> method in the <code>Main</code> controller... that's fine.</p>
  
  <p>Now how do I route my URIs so I can load up the popular and recent method by going to <code>http://localhost/myapp/popular</code> and <code>http://localhost/myapp/recent</code> respectively?</p>