1 # Put the correct routes in place
2 module AuthenticatedSystem
4 Merb::BootLoader.after_app_loads do
5 Merb::Router.prepend do |r|
6 r.match("/login").to(:controller => "Session", :action => "create").name(:login)
7 r.match("/logout").to(:controller => "Session", :action => "destroy").name(:logout)