allow easier specification of an action directly in the route