We had helper methods all over the place which were only used in one view. Since we're going to change some of them to use the budget as a parameter, they don't belong in those helpers anymore. Note the method `budget_heading_select_options` is used in more places, so we're keeping it where it was.
6 lines
151 B
Ruby
6 lines
151 B
Ruby
module ValuationHelper
|
|
def explanation_field(field)
|
|
simple_format_no_tags_no_sanitize(sanitize_and_auto_link(field)) if field.present?
|
|
end
|
|
end
|