1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 07:39:39 +02:00

Move merchants to top-level namespace (#895)

This commit is contained in:
Zach Gollwitzer 2024-06-20 08:38:59 -04:00 committed by GitHub
parent 2681dd96b1
commit dc3147c101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 153 additions and 145 deletions

View file

@ -48,6 +48,8 @@ Rails.application.routes.draw do
end
end
resources :merchants, only: %i[ index new create edit update destroy ]
resources :transactions do
collection do
post "bulk_delete"
@ -59,7 +61,6 @@ Rails.application.routes.draw do
scope module: :transactions, as: :transaction do
resources :rows, only: %i[ show update ]
resources :rules, only: %i[ index ]
resources :merchants, only: %i[ index new create edit update destroy ]
end
end
end