nelmio/NelmioApiDocBundle — pull request #471 by yoshz (2014-08-08 07:53:36+00:00)
Title: Fixed endpoint is undefined in sandbox when custom_endpoint is disabled

I have custom_endpoint setting disabled in my environment, which results in endpoint variable in the sandbox is overriden by string 'undefined', which results in 404 requests.
See attached patch to fix this.