diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index 7e8ddb3716bad55ceaa5fef99c9f2334c8afa07e..1516476815a56e96907396b699a59de3b2f931c4 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')