mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add some welcome entities on tenant signup (#266)
This commit is contained in:
committed by
GitHub
parent
d80f63f27f
commit
30b7b0f5f4
@@ -45,6 +45,8 @@ class TenantsController < ApplicationController
|
||||
|
||||
@user.save!
|
||||
|
||||
CreateWelcomeEntitiesWorkflow.new().run
|
||||
|
||||
render json: @tenant, status: :created
|
||||
|
||||
rescue ActiveRecord::RecordInvalid => exception
|
||||
|
||||
Reference in New Issue
Block a user