lib/generators/bootswatch/import/import_generator.rb in twitter-bootswatch-rails-3.0.2.0 vs lib/generators/bootswatch/import/import_generator.rb in twitter-bootswatch-rails-3.0.3.0
- old
+ new
@@ -29,10 +29,10 @@
get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less')
prepend_to_file File.join(stylesheets_dest_path,'bootswatch.css.less') do
- "@import \"#{theme_name}/base\";\n\n"
+ "@import \"#{theme_directory}/base\";\n\n"
end
gsub_file File.join(stylesheets_dest_path,'variables.less'),
'"../img/glyphicons-halflings.png"',
'"twitter/bootstrap/glyphicons-halflings.png"'