parent
a1ce188dab
commit
e34e975776
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ class User < ApplicationRecord
|
|||
class_name: :PortalMember,
|
||||
dependent: :destroy_async
|
||||
has_many :portals,
|
||||
through: :portals_members,
|
||||
through: :portal_members,
|
||||
class_name: :Portal,
|
||||
dependent: :nullify,
|
||||
source: :portal
|
||||
|
|
|
@ -346,7 +346,7 @@ Rails.application.routes.draw do
|
|||
resources :accounts, only: [:index, :new, :create, :show, :edit, :update] do
|
||||
post :seed, on: :member
|
||||
end
|
||||
resources :users, only: [:index, :new, :create, :show, :edit, :update]
|
||||
resources :users, only: [:index, :new, :create, :show, :edit, :update, :destroy]
|
||||
resources :access_tokens, only: [:index, :show]
|
||||
resources :installation_configs, only: [:index, :new, :create, :show, :edit, :update]
|
||||
resources :agent_bots, only: [:index, :new, :create, :show, :edit, :update]
|
||||
|
|
Loading…
Reference in a new issue