Fixed a double slash and use File::SEPARATOR instead of slash for portability.
This commit is contained in:
parent
1fcd0c446a
commit
47157b483f
@ -44,7 +44,7 @@ Sass::Plugin.options[:template_location] = {
|
||||
"\#{RAILS_ROOT}#{File::SEPARATOR}#{options[:stylesheets_location]}" => "\#{RAILS_ROOT}#{File::SEPARATOR}#{options[:css_location]}"
|
||||
}
|
||||
Compass::Frameworks::ALL.each do |framework|
|
||||
Sass::Plugin.options[:template_location][framework.stylesheets_directory] = "\#{RAILS_ROOT}/public/stylesheets/#{File::SEPARATOR}#{options[:css_location]}/\#{framework.name}"
|
||||
Sass::Plugin.options[:template_location][framework.stylesheets_directory] = "\#{RAILS_ROOT}#{File::SEPARATOR}public#{File::SEPARATOR}stylesheets#{File::SEPARATOR}#{options[:css_location]}#{File::SEPARATOR}\#{framework.name}"
|
||||
end
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user