Permalink
Browse files

updated pod.

  • Loading branch information...
1 parent c305fd1 commit 0bf0e80e7a8932820e60c7592b0bcbd3f36b013d @yusukebe committed Mar 16, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/Noe.pm
View
@@ -135,9 +135,11 @@ Noe::Dispatcher is HTTPx::Dispatcher based. Write rules on your dispatcher class
package MyApp::Web::Dispatcher;
use Noe::Dispatcher;
- connect '' => { controller => 'Root', action => 'index' };
- connect 'hi' => { controller => 'Root', action => 'hi' };
- connect 'json' => { controller => 'JSON', action => 'index' };
+ connect '' => { controller => 'Root', action => 'index' };
+ connect '/hi' => { controller => 'Root', action => 'hi' };
+ connect '/json' => { controller => 'JSON', action => 'index' };
+ get '/comment/:id' => { controller => 'Comment', action => 'show' };
+ post '/comment/:id' => { controller => 'Comment', action => 'post' };
1;

0 comments on commit 0bf0e80

Please sign in to comment.