Closed dready closed 11 years ago
In my setup i have a mix of normal controllers for serving views and a rest api for data transaction.
Unfortunately AssetsBundle triggers always and awaits an Action Name.
Controller of Type \Zend\Mvc\Controller\AbstractRestfulController don't have an action name.
Therefore it now checks first if there is an Action name (like the Module name check) and sets it afterwards.
This is just to fix the InvalidArgumentException, it would be still nice to have some way of disabling the AssetsBundle on certain calls.
In my setup i have a mix of normal controllers for serving views and a rest api for data transaction.
Unfortunately AssetsBundle triggers always and awaits an Action Name.
Controller of Type \Zend\Mvc\Controller\AbstractRestfulController don't have an action name.
Therefore it now checks first if there is an Action name (like the Module name check) and sets it afterwards.
This is just to fix the InvalidArgumentException, it would be still nice to have some way of disabling the AssetsBundle on certain calls.