diff --git a/app/initializers/setup-sanitizers.js b/app/initializers/setup-sanitizers.js
index <HASH>..<HASH> 100644
--- a/app/initializers/setup-sanitizers.js
+++ b/app/initializers/setup-sanitizers.js
@@ -4,6 +4,11 @@ export default {
   name: 'ember-sanitize-setup-sanitizers',
 
   initialize: function(container) {
-    container.registerOptionsForType('sanitizer', { instantiate: false });
+    if (container.registerOptionsForType) {
+      container.registerOptionsForType('sanitizer', { instantiate: false });
+    } else {
+      // Ember < 2
+      container.optionsForType('sanitizer', { instantiate: false });
+    }
   }
 };
use correct container method for <I>