diff options
author | Yuri Artemev <i@artemeff.com> | 2013-07-08 19:13:01 +0400 |
---|---|---|
committer | Yuri Artemev <i@artemeff.com> | 2013-07-08 19:13:01 +0400 |
commit | dd996ad394057a003ad851ff75e6242d0c5e8fa1 (patch) | |
tree | d71f4f40b540b2da5b474e7064aeeaf4a2274183 /railties/lib | |
parent | 4be2003778cdfe06ccaaa2a19040e0cf82dcdde3 (diff) | |
download | rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.tar.gz rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.tar.bz2 rails-dd996ad394057a003ad851ff75e6242d0c5e8fa1.zip |
handle notes in *.sass files
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/source_annotation_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 2cbb0a435c..290634290f 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -82,7 +82,7 @@ class SourceAnnotationExtractor case item when /\.(builder|rb|coffee|rake)$/ /#\s*(#{tag}):?\s*(.*)$/ - when /\.(css|scss|js)$/ + when /\.(css|scss|sass|js)$/ /\/\/\s*(#{tag}):?\s*(.*)$/ when /\.erb$/ /<%\s*#\s*(#{tag}):?\s*(.*?)\s*%>/ |