[bugfix] Example for public actions

Fixes the second example for public actions in the dosumentation.

related #2