lib/chart-candy/helpers.rb in chart-candy-0.0.11 vs lib/chart-candy/helpers.rb in chart-candy-0.0.12

- old
+ new

@@ -145,10 +145,10 @@ end def tool_step choices = ['day', 'week', 'month'].map{ |c| [t("base.steps.#{c}"), c] } - return content_tag(:div, chart_select_tag('step', choices, 'month'), class: 'tool holder-step') + return content_tag(:div, chart_select_tag('step', choices, @step), class: 'tool holder-step') end def tool_template choices = ['chart', 'table'].map { |c| [t("base.template.#{c}"), c] }