cartodb/app/helpers/embed_helper.rb

9 lines
142 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
module EmbedHelper
def get_owner_data(owner)
{
base_url: owner.public_url,
account_type: owner.account_type
}
end
end