Skip to content

Commit

Permalink
show just one result, not a whole change history
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Riessen committed May 11, 2011
1 parent 25038af commit 09b5593
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/helpers/results_helper.rb
Expand Up @@ -9,9 +9,7 @@ def display_response(r_set, question)
elsif sets.size == 1
(sets.first.string_value || sets.first.text_value || show_answer(sets.first))
else
sets.collect do |set|
show_answer(set) + "<br/>"
end.join
show_answer( sets.sort_by {|a| a.id }.last )
end
end

Expand Down

0 comments on commit 09b5593

Please sign in to comment.