Remove the `:coffee` and `:coffeescript` Haml filters

See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897
This commit is contained in:
Robert Speicher 2016-01-11 21:48:20 -05:00
parent 3ea637ed5d
commit ae7de2f851
1 changed files with 6 additions and 0 deletions

View File

@ -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')