Files
nairobi/spec/factories
Javi Martín 65ed778226 Avoid removing other proposals map locations
It was possible to remove a map location from a different proposal (even
one created by a different author) by modifying the hidden `id`
parameter in the form.

So we're making sure the map location we destroy is the one associated
to the proposal we're updating.

Since we're now using the `@proposal` instance variable in the
`destroy_map_location_association` method, we're calling that method
after loading the resource with cancancan.
2023-04-28 17:11:59 +02:00
..
2019-10-26 20:10:32 +02:00
2022-10-18 10:38:59 +02:00
2020-12-16 11:43:15 +01:00
2022-10-18 10:38:59 +02:00
2019-08-07 19:43:57 +02:00