Skip to content

Commit

Permalink
Fixed paths on popup images
Browse files Browse the repository at this point in the history
git-svn-id: svn://code.creativi.st/gallery/trunk@5 22c876fd-090a-0410-8685-aeedfd4d70f8
  • Loading branch information
creativistinc committed Jan 16, 2006
1 parent 34e32ff commit 6520819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/gallery/_photo.rhtml
@@ -1,4 +1,4 @@
<% rel = logged_in? ? "nil" : "lightbox" %>
<% url = logged_in? ? "#" : photo.to_url(:large) %>
<%= link_to image_tag(photo.to_url(:thumbnail), :class=>"photo", :id=>"photo_#{photo.id}"), url, :rel=>rel %>
<%= link_to image_tag(photo.to_url(:thumbnail), :class=>"photo", :id=>"photo_#{photo.id}"), image_path(url), :rel=>rel %>
<%= draggable_element "photo_#{photo.id}", :revert => true if logged_in? %>

0 comments on commit 6520819

Please sign in to comment.