Skip to content

Commit

Permalink
fix generator
Browse files Browse the repository at this point in the history
Ember.Application.injectControllers(stateManager) was renamed to Ember.Application.initialize(stateManager)
  • Loading branch information
josepjaume committed May 19, 2012
1 parent b27e54c commit c083a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/templates/app.js
Expand Up @@ -9,7 +9,7 @@
// <%= application_name.camelize %>.stateManager is useful for debugging,
// but don't use it directly in application code.
var stateManager = <%= application_name.camelize %>.stateManager = <%= application_name.camelize %>.StateManager.create();
<%= application_name.camelize %>.injectControllers(stateManager);
<%= application_name.camelize %>.initialize(stateManager);

jQuery(function() {
stateManager.send('ready');
Expand Down

0 comments on commit c083a40

Please sign in to comment.