app/helpers/dynaspan/application_helper.rb in dynaspan-0.0.1 vs app/helpers/dynaspan/application_helper.rb in dynaspan-0.0.2

- old
+ new

@@ -1,20 +1,20 @@ module Dynaspan module ApplicationHelper - def dynaspan_counter - @count_for_viewspace = @count_for_viewspace.to_i + 1 - end - def dynaspan_text_field(master_ds_object,*parameters) dynaspan_text('field', master_ds_object, parameters) end def dynaspan_text_area(master_ds_object,*parameters) dynaspan_text('area', master_ds_object, parameters) end private + + def dynaspan_counter + @count_for_viewspace = @count_for_viewspace.to_i + 1 + end def dynaspan_text(kind, master_ds_object,*parameters) parameters.flatten! if parameters.first.is_a? Symbol attr_object = nil \ No newline at end of file