Update logic so it doesn't reference the view globally (getting rid of a deprecation warning for Ember 1.8+)