Javi Martín
864f750d92
Remove duplication in poll permissions
...
We were checking for `expired?` and `results_enabled?` in views and
helpers, when we've already defined a rule for accessing stats and
results for a poll.
This way we also fix a bug when stats were enabled but the poll wasn't
finished. In this scenario, the link pointed to the stats page, but when
clicking it we'd get a "you don't have permission" message.
Now the link doesn't point to the stats page anymore.
2019-11-09 19:33:02 +01:00
..
2019-11-08 19:15:04 +01:00
2019-11-08 19:15:04 +01:00
2019-10-26 20:10:32 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 18:11:58 +02:00
2019-11-08 19:15:04 +01:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-11-09 19:33:02 +01:00
2019-10-24 17:11:47 +02:00
2019-11-01 17:12:31 +01:00
2019-11-06 15:35:13 +01:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:56:03 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-05-28 16:36:54 +02:00
2019-09-23 13:47:45 +02:00
2019-10-26 20:10:32 +02:00
2019-10-24 17:11:47 +02:00
2019-11-01 20:08:46 +01:00
2019-11-08 19:15:04 +01:00
2019-10-24 17:56:03 +02:00
2019-11-08 19:15:04 +01:00
2019-10-24 17:56:03 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-25 15:34:40 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-26 20:10:32 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2019-10-23 14:39:31 +02:00