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

Add decdec Twig filter #4868

Open
alexmglover opened this issue Aug 30, 2019 · 2 comments

Comments

@alexmglover
Copy link

commented Aug 30, 2019

There is currently an encenc Twig filter, so it'd be great to be able to use decdec as well.

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Sep 3, 2019

What’s the use case? Generally you’d only need to decode a string from the back-end.

@alexmglover

This comment has been minimized.

Copy link
Author

commented Sep 4, 2019

In my case, I was using encenc to build a url to an asset then was wanting to do {{ assetId | decdec | download }} but I ended up writing it into my download function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.