Skip to content

Instantly share code, notes, and snippets.

@Ikke
Created September 13, 2012 10:31
Show Gist options
  • Save Ikke/3713461 to your computer and use it in GitHub Desktop.
Save Ikke/3713461 to your computer and use it in GitHub Desktop.
Route::set('bar', '/bar')
->defaults(array(
'directory' => 'foo',
'controller' => 'bar',
'action' => 'index',
));
//Controller should be called Controller_Foo_Bar in directory /controller/foo/bar.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment