Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
ensure to always refer to the current stamp on stamp show page - clos…
Browse files Browse the repository at this point in the history
…es #14
  • Loading branch information
ryanb committed Sep 12, 2009
1 parent 26f0f6a commit b2c3a42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/stamps/show.html.erb
Expand Up @@ -43,16 +43,16 @@
</p>
<% else %>
<p>
Stamp by <%=h stamp.user.display_name if stamp.user %>
Stamp by <%=h @stamp.user.display_name if @stamp.user %>
<% if logged_in? %>
| <%= link_to "Watch this stamp", favorites_url(:stamp_id => stamp.id), :method => :post %>
| <%= link_to "Watch this stamp", favorites_url(:stamp_id => @stamp.id), :method => :post %>
<% end %>
</p>
<% end %>
<div id="score">
<%= render :partial => "score", :locals => { :stamp => @stamp } %>
</div>
<% if stamp_owner? && stamp.score.zero? %>
<% if stamp_owner? && @stamp.score.zero? %>
<%= image_tag "instructions/instruction1.gif", :size => "135x59", :id => "instructions" %>
<% end %>
</div>
Expand Down

0 comments on commit b2c3a42

Please sign in to comment.