Permalink
Browse files

fixing check if reward is blank so tests pass

  • Loading branch information...
1 parent d9d635a commit 88091bff5b7c8ccf7ca9917a67135f357c1b5323 @ryanb committed Sep 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/stamps/_score.html.erb
@@ -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 %>

0 comments on commit 88091bf

Please sign in to comment.