templates/scaffold_controller.js in eyeballs-0.3.3.1 vs templates/scaffold_controller.js in eyeballs-0.3.4
- old
+ new
@@ -2,10 +2,10 @@
index: function(){
<%= name.capitalize %>.all(function(<%= name.downcase.pluralize %>){
for(var id in <%= name.downcase.pluralize %>)
{
var <%= name.downcase %> = <%= name.downcase.pluralize %>[id];
- o_O.render('<%= name.downcase.pluralize %>/_<%= name.downcase %>', <%= name.downcase %>, {append: 'div#<%= name.pluralize %>'})
+ o_O.render('<%= name.downcase.pluralize %>/_<%= name.downcase %>', <%= name.downcase %>, {append: 'div#<%= name.downcase.pluralize %>'})
}
});
},
create: function(){
var <%= name.downcase %> = <%= name.capitalize %>.initialize(o_O.params($(this)));
\ No newline at end of file