Julian Herrero
5fe86264ca
Don't allow to modify answer's videos for started polls
...
Same rules that will apply for the answer itself should apply for the
attachments like videos, images, and/or documents.
2022-09-20 17:50:49 +02:00
Julian Herrero
14542df0de
Allow to delete answers if the poll has not started yet
...
Deleting answers was not even possible. But it was possible to delete
questions. So we implemented the same behavior.
2022-09-20 17:50:49 +02:00
Julian Herrero
3a6e99cb8c
Don't allow changing answers if the poll has started
...
Just like we did with questions.
2022-09-20 17:50:49 +02:00
taitus
86ff4eeff9
Add consistency to back_links
...
In some cases (e.g. after editing or creating a resource
with errors) the default back_link did not redirect to the
expected page.
Now we force the back_links to the index pages, so we
always get the desired redirect.
2022-09-14 14:56:27 +02:00
taitus
ec861ca8e6
Extract documents action from Answer controller
...
This way we have a controller just to manage
Poll::Question::Answer related documents in the
same way we have for videos and images.
2022-09-14 14:45:34 +02:00