changelog shortlog tags changeset file revisions annotate raw

config/routes.rb

revision 14: e280ef17cd5a
parent 13:907a36cf5ba1
--- a/config/routes.rb	Mon Mar 10 09:38:39 2008 +0900
+++ b/config/routes.rb	Mon Mar 10 09:55:26 2008 +0900
@@ -1,5 +1,5 @@ ActionController::Routing::Routes.draw d
 ActionController::Routing::Routes.draw do |map|
-  map.resources :order_items
+  map.resources :items, :controller => 'order_items', :name_prefix => 'order_', :path_prefix => '/order'
 
   map.resource :order