Permalink
Browse files

appended stylesheet_link_tag to content rather than newline and inter…

…polated string as this broke in my setup (rails 3.0.3 and haml front end). Have run this change under rails 2.3.8 with erb and all is well.
  • Loading branch information...
1 parent 4ea4642 commit d759cf316db6234b46d103074884ad8df91a4e71 @buddhamagnet buddhamagnet committed with Feb 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jcarousel_fu.rb
View
@@ -5,8 +5,8 @@ module JcarouselFu
def include_jcarousel_fu(*args)
content = javascript_include_tag('jquery.j_carousel/jquery.jcarousel.pack.js',
'jquery.j_carousel/load_jcarousel.min.js')
- content << "\n#{stylesheet_link_tag('jquery.jcarousel.min.css')}"
- content << "\n#{stylesheet_link_tag('skin.min.css')}"
+ content << stylesheet_link_tag('jquery.jcarousel.min.css')
+ content << stylesheet_link_tag('skin.min.css')
end
def jcarousel_slideshow(options={})

0 comments on commit d759cf3

Please sign in to comment.