projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finished chapter 11
[depot.git]
/
config
/
routes.rb
diff --git
a/config/routes.rb
b/config/routes.rb
index 13bc70e430b6816f469f189ab053ef243a1d9fef..eef2afceaad134039d2323ee16f3d5c219feee68 100644
(file)
--- a/
config/routes.rb
+++ b/
config/routes.rb
@@
-1,4
+1,10
@@
ActionController::Routing::Routes.draw do |map|
+ map.resources :users
+
+ map.resources :line_items
+
+ map.resources :orders
+
map.resources :products
# The priority is based upon order of creation: first created -> highest priority.