app/assets/javascripts/eastwood.js.coffee.erb in eastwood-0.3.8 vs app/assets/javascripts/eastwood.js.coffee.erb in eastwood-0.4.0

- old
+ new

@@ -14,15 +14,15 @@ <% end %> ###* * Routes ### -<% if routes.any? or hashes.any? %> +<% if server_routes.any? or client_routes.any? %> app.routes = -<% routes.each do |key, route| %> +<% server_routes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> -<% hashes.each do |key, route| %> +<% client_routes.each do |key, route| %> <%= route.coffee_name %> : ( <%= route.coffee_args %> ) -> "<%= route.coffee_path %>" <% end %> <% end %> ###*