added example for mounting a class method to a route