mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Account namespace updates: part 1 (#893)
* Rename accountable types * Merge conflicts * Fix broken tests * Add back sidebar changes
This commit is contained in:
parent
778098ebb0
commit
a947db92b2
54 changed files with 349 additions and 184 deletions
|
@ -68,10 +68,19 @@ Rails.application.routes.draw do
|
|||
resources :transfers, only: %i[ new create destroy ]
|
||||
|
||||
resources :accounts, shallow: true do
|
||||
get :summary, on: :collection
|
||||
get :list, on: :collection
|
||||
post :sync, on: :member
|
||||
resource :logo, only: %i[show], module: :accounts
|
||||
collection do
|
||||
get :summary
|
||||
get :list
|
||||
end
|
||||
|
||||
member do
|
||||
post :sync
|
||||
end
|
||||
|
||||
scope module: :accounts do
|
||||
resource :logo, only: :show
|
||||
end
|
||||
|
||||
resources :valuations
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue