Allow generic actions to use ACL

Fixes a problem if f.e. there are credentials on the show action in the form of hasPermission(object, "VIEW"). If this is then used in the edit view an error is thrown because the object isn't passed.