summaryrefslogtreecommitdiff
path: root/views/compound_image.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/compound_image.haml')
-rw-r--r--views/compound_image.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/compound_image.haml b/views/compound_image.haml
index c6f962a..18944dc 100644
--- a/views/compound_image.haml
+++ b/views/compound_image.haml
@@ -1,2 +1,2 @@
-%img{:src => compound.display_smarts_uri(features[:activating].collect{|f| f[:smarts]},@features[:deactivating].collect{|f| f[:smarts]}), :alt => compound.smiles}
+%img{:src => compound.matching_smarts_image_uri(features[:activating].collect{|f| f[:smarts]},features[:deactivating].collect{|f| f[:smarts]}), :alt => compound.to_smiles}