Skip to content

Commit

Permalink
Merge pull request #23 from BnitoBzh/master
Browse files Browse the repository at this point in the history
fix factoryFor error
  • Loading branch information
RuslanZavacky authored Jul 11, 2017
2 parents 8ce0610 + 1ce1507 commit 85bd396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/initializers/asset-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function initialize(app) {
const container = app.__container__;
let config;
if(container.factoryFor) {
config = container.factoryFor('config:environment');
config = container.factoryFor('config:environment').class;
} else {
config = container.lookupFactory('config:environment');
}
Expand Down

0 comments on commit 85bd396

Please sign in to comment.