symfony - FOSRestBundle force one route in format html -
it possible make sure single route made available in html format?
in configuration set html , json, 1 route json not used.
can do?
i have not tried on cell phone have looked @ trying 1 route:
my-awesome-route: pattern: /hello/{fist_name}/{last_name}.{_format} defaults: { _controller: acmehellobundle:default:index, _format:html} requirements: _format: html
Comments
Post a Comment