xiaohutai / jsonapi

[Bolt Extension] JSON API for Bolt CMS
https://market.bolt.cm/view/bolt/jsonapi
MIT License
55 stars 18 forks source link

Fix for the issue #56 #57

Closed luccamendonca closed 7 years ago

luccamendonca commented 7 years ago

As of Bolt 3.2, referring to current class methods using only the method names doesn't work anymore. Silex/Symfony requires either a valid controller name + method or an array containing the controller instance and the name.

I've tested it only with Bolt 3.2 as 3.3 is still a Beta release.

Thanks :)

xiaohutai commented 7 years ago

This makes a lot of sense. Thanks @luccamendonca