Remove media_path template helper which is no longer used
I haven't find any use of it among community-templates. I think it would be fair to mark as deprecated though. If this could get into 1.11 (as very small change) we'd get one cycle of deprecation warnings.
#1 Updated by Marek Hulán almost 5 years ago
- Status changed from New to Assigned
So, I realized that media_path is actually unreachable when rendering the template. That's because when you call media_path, it uses rails route helpers and gives you '/media' as result. Therefore I don't see much benefit of adding deprecation warning there, someone could still use this helpers directly from plugin but since it's usecase is for templates rendering I think it's very unlikely. Also it could be easily reverted if needed. Thus I'll simply remove it.