Skip to content
Browse files

Directly calling the javascript_include_tag to fix the html_safe issue

  • Loading branch information...
1 parent ee00118 commit 64f4e0f7a538d9cd74678b40a90196acfda980c1 Ramesh Vel committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/synthesis/asset_package_helper.rb
View
6 lib/synthesis/asset_package_helper.rb
@@ -21,7 +21,8 @@ def javascript_include_merged(*sources)
AssetPackage.targets_from_sources("javascripts", sources) :
AssetPackage.sources_from_targets("javascripts", sources))
- sources.collect {|source| javascript_include_tag(source, options) }.join("\n")
+ #sources.collect {|source| javascript_include_tag(source, options) }.join("\n")
+ javascript_include_tag(sources, options)
end
def stylesheet_link_merged(*sources)
@@ -32,7 +33,8 @@ def stylesheet_link_merged(*sources)
AssetPackage.targets_from_sources("stylesheets", sources) :
AssetPackage.sources_from_targets("stylesheets", sources))
- sources.collect { |source| stylesheet_link_tag(source, options) }.join("\n")
+ #sources.collect { |source| stylesheet_link_tag(source, options) }.join("\n")
+ stylesheet_link_tag(sources, options)
end
end

0 comments on commit 64f4e0f

Please sign in to comment.
Something went wrong with that request. Please try again.