diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-11 21:48:20 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-11 21:48:20 -0500 |
commit | ae7de2f8510d6d4b69120f168122e26d69dda256 (patch) | |
tree | 1ccdaae34e2f1507d34c9f22e4e1bb2c18e22740 /config | |
parent | 3ea637ed5d38b4484c4ca23d71d2f03c3df3f45a (diff) | |
download | gitlab-ce-ae7de2f8510d6d4b69120f168122e26d69dda256.tar.gz |
Remove the `:coffee` and `:coffeescript` Haml filtersrs-remove-coffee-filters
See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897
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') |