mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Feat: Data "reset" button (#1913)
* feat: Allow admins to delete family data * feat: Allow self-hosting users to delete cached data * Remove system tests
This commit is contained in:
parent
f7064fd4dd
commit
8208722247
13 changed files with 206 additions and 16 deletions
|
@ -18,7 +18,9 @@ Rails.application.routes.draw do
|
|||
resource :password, only: %i[edit update]
|
||||
resource :email_confirmation, only: :new
|
||||
|
||||
resources :users, only: %i[update destroy]
|
||||
resources :users, only: %i[update destroy] do
|
||||
delete :reset, on: :member
|
||||
end
|
||||
|
||||
resource :onboarding, only: :show do
|
||||
collection do
|
||||
|
@ -30,7 +32,9 @@ Rails.application.routes.draw do
|
|||
namespace :settings do
|
||||
resource :profile, only: [ :show, :destroy ]
|
||||
resource :preferences, only: :show
|
||||
resource :hosting, only: %i[show update]
|
||||
resource :hosting, only: %i[show update] do
|
||||
delete :clear_cache, on: :collection
|
||||
end
|
||||
resource :billing, only: :show
|
||||
resource :security, only: :show
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue