alt3 / cakephp-swagger

Swagger plugin for documenting your CakePHP APIs
MIT License
64 stars 17 forks source link

Index.ctp for Ui template references undefined variable #26

Closed bmudda closed 8 years ago

bmudda commented 8 years ago

In cakephp-swagger/src/Template/Ui/index.ctp file, $userConfig should be $uiConfig. Currently the title field never gets reflected with what is being set in swagger.php file because $userConfig is not set from the controller, only $uiConfig is set.

bravo-kernel commented 8 years ago

Nice find mr. @bmudda, feel free to submit a PR

bravo-kernel commented 8 years ago

Closing as a PR is now open. #27