diff options
author | HombreLaser <sebastian-440@live.com> | 2023-05-28 10:54:32 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-05-28 10:54:32 -0600 |
commit | 3f41a26afdf95498790390dd9f34655c46f72388 (patch) | |
tree | 483e1b7a263acd3d89b6927d70d51898748becd4 /config/routes.rb | |
parent | 9a5e4d0b957cfb10acce8f1becd1bd6bd4fd9005 (diff) |
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index b5289c8..633b56d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -18,6 +18,7 @@ Rails.application.routes.draw do post '/account/cart', to: 'carts#create' delete '/account/cart/:id', to: 'carts#destroy' get '/account/cards', to: 'cards#index' + get '/account/cards/:id', to: 'cards#show' post '/account/cards', to: 'cards#create' put '/account/cards/:id', to: 'cards#update' delete '/account/cards/:id', to: 'cards#destroy' |