Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CSS file names are sorted before beeing put in URL

  • Loading branch information...
commit 3dc24668c42aacdbbd43a7089302bacde7b8f0ce 1 parent a27ff39
@pgte authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/styled_objects/helpers/stylesheet_link_tag.rb
View
2  lib/styled_objects/helpers/stylesheet_link_tag.rb
@@ -8,7 +8,7 @@ def self.included(base)
module InstanceMethods
def so_stylesheet_link_tag
- return "<link href=\"#{styledobject_path styled_objects_partial_css_paths.collect {|path| URI.encode(path.gsub(/:|\.css/, ''))}.join(':')}?#{styled_objects_max_mtime}\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />"
+ return "<link href=\"#{styledobject_path styled_objects_partial_css_paths.sort.collect {|path| URI.encode(path.gsub(/:|\.css/, ''))}.join(':')}?#{styled_objects_max_mtime}\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.