summaryrefslogtreecommitdiff
path: root/config/initializers/haml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/haml.rb')
-rw-r--r--config/initializers/haml.rb6
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')