Files
nairobi/app/models
voodoorai2000 e1141d1cd3 Display already voted message for budget polls
Budget polls behave slightly differently to non-budget polls.

In budget polls we use Budget::Ballot::Lines to verify if a user has already voted online. In non-budget polls we use Poll::Voter to verify this.

In this commit we are adding an extra check to make sure that the correct message is displayed if the user has already voted online for a budget poll[1]

[1] https://github.com/AyuntamientoMadrid/consul/blob/master/spec/features/budget_polls/voter_spec.rb#L122
2019-05-24 15:20:54 +02:00
..
2019-03-14 17:25:43 +01:00
2019-03-14 17:25:43 +01:00
2019-03-14 17:25:43 +01:00
2017-11-17 13:14:03 -04:00
2019-03-27 15:22:14 +01:00
2019-04-17 17:40:56 +02:00
2019-04-17 17:40:56 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2019-04-17 17:40:56 +02:00
2019-05-22 11:50:03 +02:00
2019-03-14 17:25:43 +01:00
2019-02-05 17:41:00 +01:00
2019-05-21 13:50:17 +02:00
2017-12-15 19:21:02 +01:00