SVG CDN issue

This commit is contained in:
Godwin 2014-07-12 23:38:07 -06:00
parent cbb3164c6a
commit 0c26817c02

View File

@ -436,7 +436,7 @@ module ApplicationHelper
end
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
def static_map(location, zoom, width, height)