zfcampus/zf-apigility-documentation — pull request #7 by kaloyan-raev (2014-05-09 07:17:27+00:00)
Title: Swap the places of Documentation selectors

I have an integration scenario of embedding Internet Explorer to display
Apigility. If I click on the API Docs button then IE downloads a
documentation.json file instead of navigating to the Apigility
Documentation page. For some reason the /apigility/documentation API
returns an application/json response instead of text/html.

If I swap the places of the selectors then everything works fine.