Add an example for how to define an action in a route. Fixes #224
Merge pull request #233 from mehulkar/master

Docs for actions on routes