lib/generators/backbone/router/templates/router.coffee in rails-backbone-0.5.4 vs lib/generators/backbone/router/templates/router.coffee in rails-backbone-0.5.5

- old
+ new

@@ -1,14 +1,14 @@ class <%= router_namespace %>Router extends Backbone.Router initialize: (options) -> - + routes: <% actions.each do |action| -%> "/<%= action %>": "<%= action %>" <% end -%> - + <% actions.each do |action| -%> <%= action %>: -> @view = new <%= "#{view_namespace}.#{action.camelize}View()" %> $("#<%= plural_name %>").html(@view.render().el) - -<% end -%> \ No newline at end of file + +<% end -%>