examples/sample_app/dist/conf/router.rb in merb-0.0.7 vs examples/sample_app/dist/conf/router.rb in merb-0.0.8
- old
+ new
@@ -13,7 +13,7 @@
Merb::RouteMatcher.prepare do |r|
r.add '/foo/:bar/baz/:id', :controller => 'Test', :action => 'foo'
r.add '/bar/:bar_id/baz/:id', :controller => 'Test', :action => 'foo'
r.add '/:controller/:action/:id'
r.add '/bar/:*rest', :controller => 'Test', :action => 'glob'
- r.add '', :controller => 'posts', :action =>'index'
+ r.add '', :controller => 'posts', :action =>'list'
end