Files
nairobi/app/views
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-06 00:04:02 +01:00
2019-10-08 19:10:13 +02:00
2019-09-10 21:04:56 +02:00
2019-10-25 17:00:18 +02:00
2019-11-06 00:04:02 +01:00
2019-03-25 14:58:54 +01:00
2019-10-20 17:26:14 +02:00
2019-09-10 21:04:56 +02:00
2019-11-06 00:04:02 +01:00
2019-09-10 20:02:15 +02:00