added beforeAction documentation
Merge pull request #377 from pulse00/doc-patch

Added beforeAction documentation