Fix order of poll answers

This commit is contained in:
Steffen van Bergerem 2014-12-13 18:22:30 +01:00
parent 120b46931d
commit e5895a1f1b

View file

@ -3,7 +3,7 @@ class Poll < ActiveRecord::Base
include Diaspora::Guid
belongs_to :status_message
has_many :poll_answers
has_many :poll_answers, -> { order 'id ASC' }
has_many :poll_participations
xml_attr :question