mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 07:39:39 +02:00
Add/remove members and invitations (#1744)
* Add/remove members and invitations * Lint
This commit is contained in:
parent
282c05345d
commit
0696e1f2f7
10 changed files with 188 additions and 29 deletions
|
@ -20,7 +20,7 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
namespace :settings do
|
||||
resource :profile, only: :show
|
||||
resource :profile, only: [ :show, :destroy ]
|
||||
resource :preferences, only: :show
|
||||
resource :hosting, only: %i[show update]
|
||||
resource :billing, only: :show
|
||||
|
@ -142,7 +142,7 @@ Rails.application.routes.draw do
|
|||
resources :exchange_rate_provider_missings, only: :update
|
||||
end
|
||||
|
||||
resources :invitations, only: [ :new, :create ] do
|
||||
resources :invitations, only: [ :new, :create, :destroy ] do
|
||||
get :accept, on: :member
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue