templates/helper.rb in ajax-scaffold-generator-2.0 vs templates/helper.rb in ajax-scaffold-generator-2.1.0

- old
+ new

@@ -1,12 +1,12 @@ -module <%= controller_class_name %>Helper - - def num_columns - <%= model_name %>.content_columns.length + 1 - end - - # This can be moved into application_helper.rb - def loading_indicator_tag(scope,id) - "<img src=\"/images/indicator.gif\" style=\"display: none;\" id=\"#{scope}-#{id}-loading-indicator\" alt=\"loading indicator\" class=\"loading-indicator\" />" - end - -end +module <%= controller_class_name %>Helper + + def num_columns + <%= model_name %>.content_columns.length + 1 + end + + # This can be moved into application_helper.rb + def loading_indicator_tag(scope,id) + "<img src=\"/images/indicator.gif\" style=\"display: none;\" id=\"#{scope}-#{id}-loading-indicator\" alt=\"loading indicator\" class=\"loading-indicator\" />" + end + +end