-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support sitemap=false annotation #39
Comments
Hello, I'm agree but I'm currently finishing a project and I do not have time to take care for now. If you can do a pull request, I will try to treat it at the earliest. |
? |
@davidgorges can you PR a correction ? |
This will be done in the next major release. See #92. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's currently not supported to set the sitemap option to "false".
Presta/SitemapBundle/EventListener/RouteAnnotationEventListener.php line 97 {"exception":"[object] (InvalidArgumentException: the sitemap option must be "true" or an array of parameters at /home/www/wwwroot/sf2_widge_prod/shared/vendor/presta/sitemap-bundle/Presta/SitemapBundle/EventListener/RouteAnnotationEventListener.php:97
That's bad style. It shoudl accept the values true and false and the sitemap parameters as an additional parameter.
The text was updated successfully, but these errors were encountered: