Javi Martín
31b65679c3
Extract partial to render flag actions
...
The main obstacle to extract this partial was probably the paths for the
flag and unflag actions.
Now that we use Rails 5.1 `resolve` method to handle nested resources,
we can use `polymorphic_path`.
Also note the code is a bit ugly because comments render a divider. We
should probably use a CSS border instead.
Co-Authored-By: taitus <sebastia.roig@gmail.com >
2020-07-07 23:39:21 +02:00
..
2019-03-19 12:16:50 +01:00
2019-10-05 03:38:44 +02:00
2020-06-16 19:26:05 +02:00
2020-06-11 18:39:57 +02:00
2019-11-13 19:52:15 +01:00
2019-10-07 01:56:23 +02:00
2019-10-07 01:56:23 +02:00
2019-11-06 15:35:12 +01:00
2019-10-25 17:00:18 +02:00
2020-02-13 15:29:30 +07:00
2019-11-06 00:04:02 +01:00
2019-10-25 17:00:18 +02:00
2020-07-07 23:39:21 +02:00
2018-07-31 12:52:31 +02:00
2019-10-25 15:15:47 +02:00
2019-10-21 21:32:02 +02:00
2019-11-06 00:04:02 +01:00
2019-11-06 00:04:02 +01:00
2020-06-16 19:40:04 +02:00
2019-10-21 21:32:02 +02:00
2019-10-08 18:46:20 +02:00
2020-05-25 19:28:16 +02:00
2020-04-27 19:26:37 +02:00
2019-11-07 16:26:19 +01:00
2020-06-16 19:26:05 +02:00
2019-10-05 03:38:44 +02:00
2020-06-11 18:39:57 +02:00
2020-06-16 19:26:05 +02:00
2019-11-18 20:14:45 +01:00
2020-06-16 19:26:05 +02:00
2019-10-09 19:46:47 +02:00
2020-04-27 19:26:37 +02:00
2020-06-11 18:39:57 +02:00
2019-11-06 00:04:02 +01:00
2019-09-10 21:04:56 +02:00
2019-09-21 16:25:20 +03:00
2020-04-09 07:11:52 +10:00
2019-10-25 17:31:12 +02:00
2019-09-10 20:02:15 +02:00
2019-09-04 15:00:36 +02:00
2019-10-07 01:56:23 +02:00
2019-09-10 20:02:15 +02:00
2019-10-07 01:56:23 +02:00
2019-11-05 23:15:17 +01:00
2019-09-10 20:02:15 +02:00
2019-09-10 20:02:15 +02:00
2020-06-16 19:40:04 +02:00