X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=config%2Froutes.rb;h=eef2afceaad134039d2323ee16f3d5c219feee68;hb=942d6c5b97e90c2c9036d1ec776ca98584e5be8f;hp=13bc70e430b6816f469f189ab053ef243a1d9fef;hpb=128ba7d3b10ef93d000a3f6105c09129bf84b991;p=depot.git diff --git a/config/routes.rb b/config/routes.rb index 13bc70e..eef2afc 100644 --- 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.