1module SignatureHelper |
|
|
2 def signature_count(key, count, options = {}) |
3 t(:"#{key}.html", siganture_count_options(count, number_with_delimiter(count), options)) |
|
4 end |
|
6 private
|
|
|
8 def siganture_count_options(count, formatted_count, options) |
9 options.reverse_merge(scope: :"petitions.signature_counts", count: count, formatted_count: formatted_count) |
|
10 end |
|
11end |