examples/app_skeleton/dist/conf/router.rb in merb-0.0.7 vs examples/app_skeleton/dist/conf/router.rb in merb-0.0.8
- old
+ new
@@ -9,13 +9,11 @@
# The default route is installed
puts "Compiling routes: \n"
Merb::RouteMatcher.prepare do |r|
- r.add '/foo/:bar/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 => 'SomeController', :action =>'foo'
end
m = Merb::RouteMatcher.new
puts m.compiled_statement
\ No newline at end of file