Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent 6325a83 commit 125f22e6f14e39af7e0bc2821338ee2e235fd3c4 @wagenet wagenet committed Sep 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guides/helpers.rb
@@ -60,7 +60,7 @@ def code(&block)
def guide_exists?(guide)
# Might be able to use build in view_paths methods but I couldn't figure them out - PW
- exists = view_paths.any? do |p|
+ view_paths.any? do |p|
Guides::Generator::EXTENSIONS.any?{|e| File.exist? "#{p}/#{guide["url"]}.#{e}" }
end
end

0 comments on commit 125f22e

Please sign in to comment.