We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 726363a + 91082df commit 43fb81cCopy full SHA for 43fb81c
lib/code_corps/helpers/cloudinary_url.ex
@@ -1,9 +1,7 @@
1
defmodule CodeCorps.Helpers.CloudinaryUrl do
2
3
- @host Application.get_env(:arc, :asset_host)
4
-
5
def for(nil, _options, version, default_color, type) do
6
- "#{@host}/icons/#{type}_default_#{version}_#{default_color}.png"
+ "#{Application.get_env(:arc, :asset_host)}/icons/#{type}_default_#{version}_#{default_color}.png"
7
end
8
def for(public_id, options, _version, _default_color, _type) do
9
Cloudex.Url.for(public_id, options)
0 commit comments