cartodb/app/helpers/url_helper.rb

6 lines
133 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
module UrlHelper
def current_user_url(path, params = {})
CartoDB.url(self, path, params: params, user: current_user)
end
end