Each time we use as_html in views (which is often), we write it like this: as_html(link_resolver(@maybe_ref)). 99% of the time, it is the same link_resolver, and the same @maybe_ref (actually, I can't see of any non-borderline case where it wouldn't be the case).
This allows to do as_html(lr).
I'm not sure it's a good idea, that's a lot of information lost in this way to write it; what do you think?
Each time we use
as_html
in views (which is often), we write it like this:as_html(link_resolver(@maybe_ref))
. 99% of the time, it is the same link_resolver, and the same @maybe_ref (actually, I can't see of any non-borderline case where it wouldn't be the case).This allows to do
as_html(lr)
.I'm not sure it's a good idea, that's a lot of information lost in this way to write it; what do you think?