app/views/themes/base/attributes/_email.html.erb in bullet_train-themes-1.2.27 vs app/views/themes/base/attributes/_email.html.erb in bullet_train-themes-1.3.0

- old
+ new

@@ -1,9 +1,9 @@ <% object ||= current_attributes_object %> <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> -<% if object.send(attribute).present? %> +<% if object.public_send(attribute).present? %> <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %> - <%= link_to object.send(attribute), "mailto:#{object.send(attribute)}" %> + <%= link_to object.public_send(attribute), "mailto:#{object.public_send(attribute)}" %> <% end %> <% end %>