Skip to content
Browse files

fix method name

  • Loading branch information...
1 parent dbd2c7b commit 369e9662b8310e2954404ce33f0063de977e7d39 Francesco Rodriguez committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/ember/model_generator.rb
View
2 lib/generators/ember/model_generator.rb
@@ -8,7 +8,7 @@ class ModelGenerator < ::Rails::Generators::NamedBase
desc "Creates a new Ember.js model"
- def create_controller_files
+ def create_model_files
template 'model.js', File.join('app/assets/javascripts/ember/models', class_path, "#{file_name}.js")
end

0 comments on commit 369e966

Please sign in to comment.
Something went wrong with that request. Please try again.