cartodb/app/helpers/embed_helper.rb
2020-06-15 10:58:47 +08:00

9 lines
142 B
Ruby

module EmbedHelper
def get_owner_data(owner)
{
base_url: owner.public_url,
account_type: owner.account_type
}
end
end