Fix order of poll answers
This commit is contained in:
parent
120b46931d
commit
e5895a1f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue