Unrecognized option "parameter_strategy" under "takeit_amp_html.routing"
marineb opened this issue · 5 comments
Hi,
I picked the parameter strategy. I am getting this error. I may very well be doing other things wrong.
Unrecognized option "parameter_strategy" under "takeit_amp_html.routing"
I added that to the config.yml
file:
takeit_amp_html:
theme:
current_theme: "amp-theme"
model: AppBundle\Entity\Article
routing:
parameter_strategy:
enabled: true
Hi @marineb
thanks for reporting this issue. I will take a look at it soon and see what's wrong.
Atm I can just say that it should work as in the configuration all looks ok: https://github.com/takeit/AmpHtmlBundle/blob/master/DependencyInjection/Configuration.php#L76
@takeit Interesting. I thought maybe I wasn't using the right version of this package, since I saw changes have been made after the first release.
This is the PR we made to try to implement it.
Would be amazing if you could look into it. Thank you in advance! And thank you for making this package.
@marineb I see you are using version 0.1
, which is an older version. Try to require version ^0.2
and it should work.
yeah, it will install the latest changes i.e. dev-master