Skip to content

Instantly share code, notes, and snippets.

@lukemorton
Created January 11, 2011 23:04
Show Gist options
  • Save lukemorton/775349 to your computer and use it in GitHub Desktop.
Save lukemorton/775349 to your computer and use it in GitHub Desktop.
<?php
Route::set('admin', 'admin(/<controller>(/<action>(/<id>)))')
->defaults(
array(
'directory' => 'admin',
'controller' => 'mycontroller'
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment