cms/app-client/tests/helpers/resolver.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 06 Nov 2015 16:48:37 +0100
changeset 9 cfee18a7f900
parent 5 d4b3da0dadc9
child 136 5fed7e1716c2
permissions -rw-r--r--
get module path trough drupal function for better integration later

import Resolver from 'ember/resolver';
import config from '../../config/environment';

var resolver = Resolver.create();

resolver.namespace = {
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix
};

export default resolver;