Created
April 12, 2017 16:45
-
-
Save ljfranklin/bd805a2528e44719185bab80602a1a1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
# current approach | |
cc_uploader_url = nil | |
if_link("cc_uploader") do |cc_uploader| | |
cc_uploader_url = "http://#{cc_uploader.p("internal_hostname")}:#{cc_uploader.p("http_port")}" | |
end | |
if cc_uploader_url.nil? | |
cc_uploader_url = p("cc.diego.cc_uploader_url") | |
end | |
%> | |
cc_uploader_url: <%= cc_uploader_url %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment