Skip to content

Commit

Permalink
fixed template path for non library specific template pathed
Browse files Browse the repository at this point in the history
- only adjust the path if different vendor libraries can server the same type of templates e.g. grid frameworks
  • Loading branch information
mechanoid committed Aug 28, 2013
1 parent 2d25c46 commit 6f66201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/toppings/generators/install/group_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def with_template(file, options = {})
library = options[:vendor_library]
path = options[:template_folder]
Toppings::SASS_DEPENDENCIES.add(library) if library
file = "#{library}.#{file}"
file = library ? "#{library}.#{file}" : file.to_s
file = Pathname.new(path).join(file) if path
templates << file
end
Expand Down

0 comments on commit 6f66201

Please sign in to comment.