SVG CDN issue
This commit is contained in:
parent
cbb3164c6a
commit
0c26817c02
@ -436,7 +436,7 @@ module ApplicationHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def icon(id, attributes = nil)
|
def icon(id, attributes = nil)
|
||||||
('<svg' + hash_to_html_attributes(attributes) + '><use xlink:href="' + cdn('/assets/icons.svg') + '#bb-icon-' + id + '"></use></svg>').html_safe
|
('<svg' + hash_to_html_attributes(attributes) + '><use xlink:href="/assets/icons.svg#bb-icon-' + id + '"></use></svg>').html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
def static_map(location, zoom, width, height)
|
def static_map(location, zoom, width, height)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user