mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	| @@ -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] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 smartdev58
					smartdev58