Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Rename the twig asset function #8

Closed
Windvis opened this issue Aug 20, 2018 · 0 comments
Closed

[RFC] Rename the twig asset function #8

Windvis opened this issue Aug 20, 2018 · 0 comments

Comments

@Windvis
Copy link

Windvis commented Aug 20, 2018

If I remember correctly we decided to name this function 'asset' to make it consistent with the Symfony asset function.

This one does not act like the Symfony one at all though. It fetches files from the img/language folder.

I would rename this to something that resembles that:

{{image("funky-stuff.jpg")}}

@Windvis Windvis changed the title Rename the twig asset function [RFC] Rename the twig asset function Aug 20, 2018
@Windvis Windvis closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants