mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 10:42:38 +00:00 
			
		
		
		
	feat: Ability to seed Demo Accounts (#5352)
Introduces the ability to seed sample data into accounts in development and staging. fixes: #3429
This commit is contained in:
		| @@ -340,7 +340,9 @@ Rails.application.routes.draw do | ||||
|       resource :app_config, only: [:show, :create] | ||||
|  | ||||
|       # order of resources affect the order of sidebar navigation in super admin | ||||
|       resources :accounts | ||||
|       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 :access_tokens, only: [:index, :show] | ||||
|       resources :installation_configs, only: [:index, :new, :create, :show, :edit, :update] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sojan Jose
					Sojan Jose