cartodb-4.42/app/controllers/account_creator.rb
2024-04-06 05:25:13 +00:00

12 lines
349 B
Ruby

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