cartodb-4.42/app/controllers/account_creator.rb

12 lines
349 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
module AccountCreator
def trigger_account_creation(account_creator)
creation_data = account_creator.enqueue_creation(self)
flash.now[:success] = 'User creation in progress'
# Template variables
@user_creation_id = creation_data[:id]
@user_name = creation_data[:id]
@redirect_url = CartoDB.url(self, 'dashboard')
end
end