Correctly indent private function at budget model

This commit is contained in:
Bertocq
2018-01-15 16:44:31 +01:00
parent 6258bbef13
commit 5016568b8a

View File

@@ -145,12 +145,12 @@ class Budget < ActiveRecord::Base
private
def sanitize_descriptions
s = WYSIWYGSanitizer.new
PHASES.each do |phase|
sanitized = s.sanitize(send("description_#{phase}"))
send("description_#{phase}=", sanitized)
end
def sanitize_descriptions
s = WYSIWYGSanitizer.new
PHASES.each do |phase|
sanitized = s.sanitize(send("description_#{phase}"))
send("description_#{phase}=", sanitized)
end
end
end