X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=config%2Froutes.rb;h=eef2afceaad134039d2323ee16f3d5c219feee68;hb=HEAD;hp=13bc70e430b6816f469f189ab053ef243a1d9fef;hpb=825cf787828710d8ac9084cc21bfe7ab5d27c54e;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.