Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ruby classes are camelcased, stick to Ruby conventions and underscore…
… filenames while camelcasing classnames
  • Loading branch information
andriytyurnikov committed Aug 6, 2011
1 parent b883c6a commit a8a7b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/backbone/install/install_generator.rb
Expand Up @@ -22,7 +22,7 @@ def create_dir_layout
end

def create_app_file
template "app.coffee", "app/assets/javascripts/backbone/#{application_name}.js.coffee"
template "app.coffee", "app/assets/javascripts/backbone/#{application_name.underscore}.js.coffee"
end

protected
Expand Down

0 comments on commit a8a7b9f

Please sign in to comment.