neilime/zf2-assets-bundle — pull request #12 by dready (2013-09-05 16:41:34+00:00)
Title: handle empty action name

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.