Javi Martín
054fbf585e
Simplify recommended index component parameters
...
We can get the path if we know the namespace, so we don't need to pass
both of them.
2025-08-22 13:42:41 +02:00
Javi Martín
3347e85017
Use a different parameter name in recommendex index
...
The problem with "recommended" is that it had identical singular and
plural, which means it wasn't clear whether we were using it to refer to
an item of a collection or to refer to the collection itself.
2025-08-22 13:40:45 +02:00
Javi Martín
34c8559065
Remove helper that returned a polymorphic path
...
This is similar to what we did in commits 1a902a967 and fa3781059 .
2025-08-22 13:38:03 +02:00
Javi Martín
a548c497fc
Move recommended index partial to a component
...
Thanks to it, we can slightly simplify the debates view rendering it.
2025-08-22 13:32:04 +02:00