Javi Martín
b318a8b8d2
Use polymorphic_path instead of Relationable#url
...
The #url method in the models provides a feature that can be done using
native Rails features (polymorphic paths), is inconsistent (some models
have that method and some haven't), and only works for URLs in the
public area (but not in sections like administration or management).
Besides, models are already fat enough without introducing methods
related to controllers or routes.
2021-06-23 23:13:58 +02:00
..
2021-06-11 16:44:33 +02:00
2021-06-14 14:46:54 +02:00
2021-06-09 21:51:39 +02:00
2021-04-09 16:21:00 +02:00
2021-02-24 20:42:53 +01:00
2021-06-14 14:46:54 +02:00
2020-12-04 19:57:05 +01:00
2021-01-12 14:50:36 +01:00
2019-10-26 20:10:32 +02:00
2020-08-07 11:52:24 +02:00
2021-03-02 14:45:18 +01:00
2021-02-26 16:16:51 +01:00
2020-08-11 18:19:48 +02:00
2020-04-27 19:26:37 +02:00
2019-11-08 19:15:04 +01:00
2019-10-24 17:11:47 +02:00
2021-03-15 13:31:28 +01:00
2021-03-18 15:03:21 +01:00
2021-04-13 20:04:04 +02:00
2019-11-13 01:33:06 +01:00
2019-09-11 19:45:19 +02:00
2021-01-26 19:18:11 +01:00
2019-09-10 20:02:15 +02:00
2019-10-24 17:11:47 +02:00
2019-10-24 17:11:47 +02:00
2021-04-13 13:52:18 +02:00
2020-07-08 18:34:58 +02:00
2019-11-12 19:28:35 +01:00
2021-06-03 17:24:46 +02:00
2020-06-15 11:54:05 +02:00
2021-01-20 17:22:05 +01:00
2020-08-11 11:10:10 +07:00
2019-10-24 17:11:47 +02:00
2021-06-03 11:13:52 +02:00
2021-06-23 23:13:58 +02:00
2019-10-24 17:11:47 +02:00
2019-03-25 14:58:54 +01:00
2019-10-24 17:11:47 +02:00
2019-10-23 14:39:31 +02:00
2020-07-14 12:32:12 +02:00
2019-10-24 17:11:47 +02:00
2021-01-20 17:22:05 +01:00