diff options
author | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-06-21 12:39:27 +0200 |
---|---|---|
committer | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-06-21 12:39:27 +0200 |
commit | 23d277476a396088633d0cb2ef8d3be5c3557953 (patch) | |
tree | 42ed898806c9ebc334be75b2639a4615259298f3 /railties | |
parent | eaa973fc7836f40fa73ffba5fd7e9f6c8a3dcd10 (diff) | |
download | rails-23d277476a396088633d0cb2ef8d3be5c3557953.tar.gz rails-23d277476a396088633d0cb2ef8d3be5c3557953.tar.bz2 rails-23d277476a396088633d0cb2ef8d3be5c3557953.zip |
Ignore file guides/output/layout.html on W3C validations
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/w3c_validator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/w3c_validator.rb b/railties/guides/w3c_validator.rb index 49cfb984cf..4da48bf3fb 100644 --- a/railties/guides/w3c_validator.rb +++ b/railties/guides/w3c_validator.rb @@ -55,6 +55,7 @@ module RailsGuides private def guides_to_validate guides = Dir["./guides/output/*.html"] + guides.delete("./guides/output/layout.html") ENV.key?('ONLY') ? select_only(guides) : guides end |