cartodb-4.29/app/controllers/account_creator.rb

12 lines
349 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +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