remove redundant curly braces

pull/2004/head
Philipp Tessenow 10 years ago
parent 836cb99865
commit c79a972d8d
  1. 2
      app/helpers/application_helper.rb

@ -472,7 +472,7 @@ module ApplicationHelper
legend = options[:legend] || ''
content_tag :span do
content_tag :span, {class: 'progress-bar', style: "width: #{width}"} do
content_tag :span, class: 'progress-bar', style: "width: #{width}" do
content_tag(:span, '', class: 'inner-progress closed', style: "width: #{closed}%") +
content_tag(:span, '', class: 'inner-progress done', style: "width: #{done}%")
end.<<(content_tag :span, "#{legend}% #{l(:total_progress)}", class: 'progress-bar-legend')

Loading…
Cancel
Save