From 9aa2330f4225bffb2afe7128cf47c24f46ad54b0 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 11 Dec 2012 17:56:02 +0100 Subject: caching version without external proxy --- views/select.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/select.haml') diff --git a/views/select.haml b/views/select.haml index d6e3d20..1dd8cf4 100644 --- a/views/select.haml +++ b/views/select.haml @@ -2,7 +2,7 @@ More than one compound found for = "\"#{params[:name]}\"." Please select a structure: -- @compounds.each do |compound| - %a{:href => "/cid/#{compound.cid}"} - %img{:src => compound.image_uri } +- @cids.each do |cid| + %a{:href => "/cid/#{cid}"} + %img{:src => image_uri(cid)} -- cgit v1.2.3