Commit Graph

12 Commits

Author SHA1 Message Date
Amaia Castro
9a9f1da5a0 Renames Legislation model to LegacyLegislation
Renames the model and related stuff from Legislation 
to LegacyLegislation to avoid name clashes with 
the future Legislation module.
2016-11-30 12:00:05 +01:00
kikito
900f11fd49 ActiveRecord.find already throws a 404 if not existing; there is no find! 2015-12-16 18:44:55 +01:00
kikito
c98360fa87 Return a permissions hash with all the annotations 2015-12-16 18:10:02 +01:00
kikito
3245aa9dd2 Do not accept user_id as parameter when creating annotations 2015-12-16 18:09:10 +01:00
kikito
6335732ce6 Ensure that 404 errors are thrown for inexistent annotations 2015-12-16 18:07:03 +01:00
kikito
22ec287b16 Removes the user param from the client and forces it to be current_user in the controller 2015-12-16 18:06:25 +01:00
rgarcia
60d6f1c41b annotates legislations instead of proposals 2015-12-16 11:45:47 +01:00
Abigail Sosa
bb5da1af7f Se agrega usuario autor a cada anotacion 2015-12-16 11:45:46 +01:00
Abigail Sosa
e2f6950dc4 Carga anotaciones de la propuesta 2015-12-16 11:45:46 +01:00
Abigail Sosa
cf8a952b0b Se pueden eliminar anotaciones 2015-12-16 11:45:46 +01:00
Abigail Sosa
5743068780 Se pueden editar - actualizar anotaciones 2015-12-16 11:45:46 +01:00
Abigail Sosa
189a6426b1 Se agregan anotaciones a propuestas existentes 2015-12-16 11:45:46 +01:00