Skip to content

Instantly share code, notes, and snippets.

@kemo
Created April 26, 2011 13:36
Show Gist options
  • Save kemo/942271 to your computer and use it in GitHub Desktop.
Save kemo/942271 to your computer and use it in GitHub Desktop.
Route::set('forum', 'forum/<action>')
->defaults(array(
'controller' => 'forum',
'action' => 'index',
))
->methods(array(
Request::PUT => array
(
'update_post',
'update_topic',
),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment