examples/skeleton/dist/conf/router.rb in merb-0.3.1 vs examples/skeleton/dist/conf/router.rb in merb-0.3.3
- old
+ new
@@ -8,15 +8,15 @@
# a hash of arguments to your controller methods.
# The default route is installed
puts "Compiling routes.."
-Merb::RouteMatcher.prepare do |r|
+Merb::Router.prepare do |r|
# restfull routes
# r.resources :posts
# default route, usually you don't want to change this
r.default_routes
# change this for your home page to be avaiable at /
#r.add '/', :controller => 'whatever', :action =>'index'
-end
\ No newline at end of file
+end