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

Commit

Permalink
fixing check if reward is blank so tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Sep 5, 2009
1 parent d9d635a commit 88091bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/stamps/_score.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= stamp.goal_score %>
<span id="change_goal">(<%= link_to "change goal", edit_goal_stamp_path(stamp) %>)</span>
</div>
<% if stamp.goal_reached? && !stamp.goal_reward.empty? %>
<% if stamp.goal_reached? && !stamp.goal_reward.blank? %>
<div id="goal_reward">
<strong>Reward:</strong>
<%=h stamp.goal_reward %>
Expand Down

0 comments on commit 88091bf

Please sign in to comment.