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