X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=config%2Froutes.rb;h=fa21f855db5b2d976b9d48c710d49920483c4bf2;hb=e580d4626176c8deb6f44fec7e66f980b5923b29;hp=b579d6c7d16a23f6672070bfdbcad9a7a5d9ceb5;hpb=28668145b30d983f624bebb24e9ac9c23d9b13cd;p=depot.git diff --git a/config/routes.rb b/config/routes.rb index b579d6c..fa21f85 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ ActionController::Routing::Routes.draw do |map| + map.resources :products + # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: