diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-28 14:29:09 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-28 14:29:09 -0500 |
commit | 79123ec9986c8638b569daa02ac2ba2f3408c48e (patch) | |
tree | abdd4b0ea8b4c3cdbeb6a9bd5c2890147d5bd29d /config | |
parent | 789e04835257b8d6be19eaab5da0e8f7ebd74153 (diff) | |
download | gitlab-ce-79123ec9986c8638b569daa02ac2ba2f3408c48e.tar.gz |
Revert "Revert "Remove the `:coffee` and `:coffeescript` Haml filters""rs-revert-revert-remove-coffee-filters
This reverts commit b0145d765b94d2cef86b10b6dd22895779cfef33.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/haml.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index 7e8ddb3716b..1516476815a 100644 --- a/config/initializers/haml.rb +++ b/config/initializers/haml.rb @@ -1 +1,7 @@ Haml::Template.options[:ugly] = true + +# Remove the `:coffee` and `:coffeescript` filters +# +# See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897 +Haml::Filters.remove_filter('coffee') +Haml::Filters.remove_filter('coffeescript') |