add pdf generation

This commit is contained in:
Alex Turchyn committed 2023-06-01 00:01:11 +03:00
1 parent 170cb1ecea
commit 6a41f82e5b
21 files changed
+383 -49

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ class SetupController < ApplicationController
@user = @account.users.new(user_params)
if @user.save
@account.encrypted_configs.create!(key: EncryptedConfig::ESIGN_CERTS_KEY,
value: GenerateCertificate.call)
sign_in(@user)
redirect_to root_path