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 Overridable Parameter Containing Path to Public Directory #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

davidcochrum
Copy link

@davidcochrum davidcochrum commented Sep 14, 2018

We upgraded to Symfony 4 recently and this bundle was failing to locate our css files which had moved from /web to /public as recommended. This change adds a parameter so the assumed /web directory can be overridden to widen compatibility and flexibility.

  • Adds css_to_inline_email_twig_extension.web_root parameter containing path to public directory
    (default remains as web just outside kernel root)
  • Removes unused use statements
  • Adds twig as dev dependency

@davidcochrum davidcochrum force-pushed the master branch 2 times, most recently from 0fcda0a to 7d3fa8b Compare September 14, 2018 21:25
- Adds `css_to_inline_email_twig_extension.web_root` parameter containing path to web root directory
  (default remains as `web` just outside kernel root)
- Removes unused `use` statements
- Adds twig as dev dependency
@crussell52
Copy link
Contributor

👍

1 similar comment
@mcloide
Copy link

mcloide commented Nov 1, 2018

👍

@mareksuscak
Copy link

Can we get this merged in?

cdasilvasonnysdirect and others added 2 commits November 11, 2019 09:51
```
php.INFO: User Deprecated: Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead."}
```
…message

Fix deprecated twig error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants