lib/generators/backbone/router/templates/router.coffee in rails-backbone-0.5.1 vs lib/generators/backbone/router/templates/router.coffee in rails-backbone-0.5.2

- old
+ new

@@ -6,9 +6,9 @@ "/<%= action %>": "<%= action %>" <% end -%> <% actions.each do |action| -%> <%= action %>: -> - @view = new <%= "#{view_namespace}.#{action.capitalize}View()" %> + @view = new <%= "#{view_namespace}.#{action.camelize}View()" %> $("#<%= plural_name %>").html(@view.render().el) <% end -%> \ No newline at end of file